Class ValidationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class ValidationException
    extends AssemblerException
    A ValidationException is thrown when there is an error while validating a PDF document. The throwing of this exception means that the validation could not be completed. The actual validation results (success/fail) will be in the PDFAValdationResult.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ValidationException()
      Constructs a new exception with a null message and cause.
      ValidationException​(java.lang.String message)
      Constructs a new exception with the given message.
      ValidationException​(java.lang.String message, java.lang.Throwable cause)
      Constructs a new exception with the given message and cause.
      ValidationException​(java.lang.Throwable cause)
      Constructs a new exception with the given cause.
    • Method Summary

      • 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

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

      • ValidationException

        public ValidationException()
        Constructs a new exception with a null message and cause.
        See Also:
        Exception()
      • ValidationException

        public ValidationException​(java.lang.String message)
        Constructs a new exception with the given message.
        Parameters:
        message - The detailed message.
        See Also:
        Exception(java.lang.String)
      • ValidationException

        public ValidationException​(java.lang.String message,
                                   java.lang.Throwable cause)
        Constructs a new exception with the given message and cause.
        Parameters:
        message - The detailed message.
        cause - The causing exception. A null value is permitted.
        See Also:
        Exception(java.lang.String, java.lang.Throwable)
      • ValidationException

        public ValidationException​(java.lang.Throwable cause)
        Constructs a new exception with the given cause.
        Parameters:
        cause - The causing exception. A null value is permitted.
        See Also:
        Exception(java.lang.Throwable)