org.codehaus.mojo.shitty
Class ScriptException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.codehaus.mojo.shitty.ScriptException
- All Implemented Interfaces:
- java.io.Serializable
public class ScriptException
- extends java.lang.Exception
Thrown when a script execution fails.
- See Also:
- Serialized Form
Constructor Summary |
ScriptException(java.io.File script,
java.lang.String type,
java.lang.Object result)
|
ScriptException(java.io.File script,
java.lang.String type,
java.lang.Throwable cause)
|
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScriptException
public ScriptException(java.io.File script,
java.lang.String type,
java.lang.Object result)
ScriptException
public ScriptException(java.io.File script,
java.lang.String type,
java.lang.Throwable cause)
getScript
public final java.io.File getScript()
getType
public final java.lang.String getType()
getResult
public final java.lang.Object getResult()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
setMetaClass
public void setMetaClass(groovy.lang.MetaClass metaClass)
invokeMethod
public java.lang.Object invokeMethod(java.lang.String name,
java.lang.Object args)
getProperty
public java.lang.Object getProperty(java.lang.String name)
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
Copyright © 2007-2010. All Rights Reserved.