Class XSValidationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.io7m.xstructural.api.XSProcessorException
com.io7m.xstructural.api.XSValidationException
All Implemented Interfaces:
java.io.Serializable

public final class XSValidationException
extends XSProcessorException
The type of exceptions raised due to validation failures.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    XSValidationException​(java.lang.String message)
    Construct an exception.
    XSValidationException​(java.lang.String message, java.lang.Throwable cause)
    Construct an exception.
    XSValidationException​(java.lang.Throwable cause)
    Construct an exception.
  • 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

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

    • XSValidationException

      public XSValidationException​(java.lang.String message)
      Construct an exception.
      Parameters:
      message - The message
    • XSValidationException

      public XSValidationException​(java.lang.String message, java.lang.Throwable cause)
      Construct an exception.
      Parameters:
      message - The message
      cause - The cause
    • XSValidationException

      public XSValidationException​(java.lang.Throwable cause)
      Construct an exception.
      Parameters:
      cause - The cause