org.codehaus.groovy
Class GroovyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.codehaus.groovy.GroovyException
All Implemented Interfaces:
Serializable, GroovyExceptionInterface
Direct Known Subclasses:
ReadException, SyntaxException

public class GroovyException
extends Exception
implements GroovyExceptionInterface

See Also:
Serialized Form

Constructor Summary
GroovyException()
           
GroovyException(boolean fatal)
           
GroovyException(String message)
           
GroovyException(String message, boolean fatal)
           
GroovyException(String message, Throwable cause)
           
 
Method Summary
 boolean isFatal()
           
 void setFatal(boolean fatal)
           
 
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

GroovyException

public GroovyException()

GroovyException

public GroovyException(String message)

GroovyException

public GroovyException(String message,
                       Throwable cause)

GroovyException

public GroovyException(boolean fatal)

GroovyException

public GroovyException(String message,
                       boolean fatal)
Method Detail

isFatal

public boolean isFatal()
Specified by:
isFatal in interface GroovyExceptionInterface

setFatal

public void setFatal(boolean fatal)
Specified by:
setFatal in interface GroovyExceptionInterface

Copyright © 2003-2010 The Codehaus. All rights reserved.