gate.util
Class InvalidOffsetException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bygate.util.GateException
              extended bygate.util.InvalidOffsetException
All Implemented Interfaces:
Serializable

public class InvalidOffsetException
extends GateException

Used to signal an attempt to create a node with an invalid offset. An invalid offset is a negative value, or an offset bigger than the document size, or a start greater than an end.

See Also:
Serialized Form

Field Summary
private static boolean DEBUG
          Debug flag
 
Fields inherited from class gate.util.GateException
e
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
InvalidOffsetException()
           
InvalidOffsetException(String s)
           
 
Methods inherited from class gate.util.GateException
printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, 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
Constructor Detail

InvalidOffsetException

public InvalidOffsetException()

InvalidOffsetException

public InvalidOffsetException(String s)