Class DocumentParseException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
eu.cloudnetservice.driver.document.DocumentParseException
All Implemented Interfaces:
Serializable

public final class DocumentParseException extends RuntimeException
An exception that gets thrown when an issue occurs while parsing a document from the given input data.
Since:
4.0
See Also:
  • Field Details

  • Constructor Details

    • DocumentParseException

      public DocumentParseException(@NonNull @NonNull Throwable cause)
      Constructs a new document parse exception with the given cause.
      Parameters:
      cause - the cause of the exception.
      Throws:
      NullPointerException - if the given cause is null.
    • DocumentParseException

      public DocumentParseException(@NonNull @NonNull String message, @NonNull @NonNull Throwable cause)
      Constructs a new document parse exception with the given description message and cause.
      Parameters:
      message - the error message describing what happened.
      cause - the cause of the exception.
      Throws:
      NullPointerException - if the given message or cause is null.