Class TextPageOperationException

  • All Implemented Interfaces:
    java.io.Serializable

    @API(type=EXTENDABLE,
         src=PUBLIC)
    public class TextPageOperationException
    extends java.lang.Exception
    An exception thrown when something goes wrong.
    Since:
    19
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isError()
      true if the message is an error message.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TextPageOperationException

        public TextPageOperationException​(java.lang.String message)
        Constructor.
        Parameters:
        message - The error message.
      • TextPageOperationException

        public TextPageOperationException​(java.lang.String message,
                                          boolean error)
        Constructor.
        Parameters:
        message - The error message.
        error - true if the message is an error message.
      • TextPageOperationException

        public TextPageOperationException​(java.lang.String message,
                                          java.lang.Throwable cause)
        Constructor.
        Parameters:
        message - The error message.
        cause - The cause of the exception.
      • TextPageOperationException

        public TextPageOperationException​(java.lang.String message,
                                          java.lang.Throwable cause,
                                          boolean error)
        Constructor.
        Parameters:
        message - The error message.
        cause - The cause of the exception.
        error - true if the message is an error message.
    • Method Detail

      • isError

        public boolean isError()
        true if the message is an error message.
        Returns:
        Returns true if the message is an error message.