Class AssertionCreationException

  • All Implemented Interfaces:
    Serializable

    public final class AssertionCreationException
    extends PolicyException
    Exception thrown in case of assertion creation failure.
    Author:
    Marek Potociar
    See Also:
    Serialized Form
    • Constructor Detail

      • AssertionCreationException

        public AssertionCreationException​(AssertionData assertionData,
                                          String message)
        Constructs a new assertion creation exception with the specified detail message and cause.
        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.
        Parameters:
        assertionData - the data provided for assertion creation
        message - the detail message.
      • AssertionCreationException

        public AssertionCreationException​(AssertionData assertionData,
                                          String message,
                                          Throwable cause)
        Constructs a new assertion creation exception with the specified detail message and cause.
        Note that the detail message associated with cause is not automatically incorporated in this exception's detail message.
        Parameters:
        assertionData - the data provided for assertion creation
        message - the detail message.
        cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
      • AssertionCreationException

        public AssertionCreationException​(AssertionData assertionData,
                                          Throwable cause)
        Constructs a new assertion creation exception with the specified detail message and cause.
        Parameters:
        assertionData - the data provided for assertion creation
        cause - the cause. (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
    • Method Detail

      • getAssertionData

        public AssertionData getAssertionData()
        Retrieves assertion data associated with the exception.
        Returns:
        associated assertion data (present when assertion creation failed raising this exception).