gate.util
Class InvalidOffsetException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by gate.util.GateException
              extended by gate.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
 
Constructor Summary
InvalidOffsetException()
           
InvalidOffsetException(String s)
           
 
Method Summary
 
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

DEBUG

private static final boolean DEBUG
Debug flag

See Also:
Constant Field Values
Constructor Detail

InvalidOffsetException

public InvalidOffsetException()

InvalidOffsetException

public InvalidOffsetException(String s)