Class BadLocationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.deltawalker.script.BadLocationException
All Implemented Interfaces:
Serializable

public class BadLocationException extends Exception
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 Details

    • BadLocationException

      public BadLocationException()
      Constructs a new bad location exception.
      Since:
      2.0
    • BadLocationException

      public BadLocationException(String message)
      Constructs a new BadLocationException instance with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to Throwable.initCause(Throwable).
      Parameters:
      message - the detail message. The detail message is saved for later retrieval by the getMessage() method.
      Since:
      2.0
    • BadLocationException

      public BadLocationException(Throwable cause)
      Constructs a new BadLocationException instance 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