gate.jape
Class JapeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gate.util.GateException
              extended by gate.jape.JapeException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NonFatalJapeException

public class JapeException
extends GateException

Superclass of all JAPE exceptions.

See Also:
Serialized Form

Field Summary
private static boolean DEBUG
          Debug flag
(package private)  String location
          The location of the error.
 
Constructor Summary
JapeException()
           
JapeException(String message)
           
JapeException(String message, Throwable cause)
           
JapeException(Throwable cause)
           
 
Method Summary
 String getMessage()
           
(package private)  void setLocation(String location)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

DEBUG

private static final boolean DEBUG
Debug flag

See Also:
Constant Field Values

location

String location
The location of the error.

Constructor Detail

JapeException

public JapeException(Throwable cause)

JapeException

public JapeException(String message)

JapeException

public JapeException(String message,
                     Throwable cause)

JapeException

public JapeException()
Method Detail

setLocation

void setLocation(String location)

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable