Class DeltaXMLError

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ParserInstantiationException

public class DeltaXMLError extends RuntimeException

This class specifies an error condition.

Because it extends RuntimeException, it is an unchecked exception and does not need to be declared in method throws clauses.

See Also:
  • Constructor Details

    • DeltaXMLError

      public DeltaXMLError(String message)

      Creates a new error with an identifying message.

      Parameters:
      message - The error or warning message.
    • DeltaXMLError

      public DeltaXMLError(Throwable e)

      Creates a new error which wraps an existing error or exception.

      Parameters:
      e - The Exception or Error to wrap.
    • DeltaXMLError

      public DeltaXMLError(String message, Throwable e)

      Creates a new error which wraps an existing error or exception and provides an additional message.

      Parameters:
      e - The Exception or Error to wrap.
      message - The error or warning message.
  • Method Details

    • getThrowable

      public Throwable getThrowable()
      Return the throwable that this error wraps. This is often the underlying cause of the error.
      Returns:
      A java.lang.Throwable object, or null.
      See Also:
    • getCause

      public Throwable getCause()
      Return the throwable that this error wraps. This is often the underlying cause of the error.
      Overrides:
      getCause in class Throwable
      Returns:
      A java.lang.Throwable object, or null if the cause is nonexistent or unknown.
      See Also: