Package com.deltawalker.script
Class BadLocationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.deltawalker.script.BadLocationException
- All Implemented Interfaces:
Serializable
Signals an attempt to access a position that does not exist in a text
document, for instance an offset beyond its end.
- Since:
- 2.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new bad location exception.BadLocationException(String message) Constructs a newBadLocationExceptioninstance with the specified detail message.BadLocationException(Throwable cause) Constructs a newBadLocationExceptioninstance with no specific detail message and a specific cause which might also be used to construct a detail message on its request. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BadLocationException
public BadLocationException()Constructs a new bad location exception.- Since:
- 2.0
-
BadLocationException
Constructs a newBadLocationExceptioninstance with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(Throwable).- Parameters:
message- the detail message. The detail message is saved for later retrieval by the getMessage() method.- Since:
- 2.0
-
BadLocationException
Constructs a newBadLocationExceptioninstance with no specific detail message and a specific cause which might also be used to construct a detail message on its request.- Parameters:
cause- the cause that triggered the throwing of this exception
-