org.codehaus.groovy
Class GroovyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.codehaus.groovy.GroovyException
All Implemented Interfaces:
GroovyExceptionInterface, java.io.Serializable
Direct Known Subclasses:
CompilationFailedException, ReadException, SyntaxException

public class GroovyException
extends java.lang.Exception
implements GroovyExceptionInterface

See Also:
Serialized Form

Field Summary
private  boolean fatal
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
GroovyException()
           
GroovyException(boolean fatal)
           
GroovyException(java.lang.String message)
           
GroovyException(java.lang.String message, boolean fatal)
           
GroovyException(java.lang.String message, java.lang.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
 

Field Detail

fatal

private boolean fatal
Constructor Detail

GroovyException

public GroovyException()

GroovyException

public GroovyException(java.lang.String message)

GroovyException

public GroovyException(java.lang.String message,
                       java.lang.Throwable cause)

GroovyException

public GroovyException(boolean fatal)

GroovyException

public GroovyException(java.lang.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-2005 The Codehaus. All Rights Reserved.