org.codehaus.mojo.shitty
Class ScriptException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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)
           
 
Method Summary
 groovy.lang.MetaClass getMetaClass()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.Object getResult()
           
 java.io.File getScript()
           
 java.lang.String getType()
           
 java.lang.Object invokeMethod(java.lang.String name, java.lang.Object args)
           
 void setMetaClass(groovy.lang.MetaClass metaClass)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 
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
 

Constructor Detail

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)
Method Detail

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.