Package com.sun.xml.ws.policy.spi
Class AssertionCreationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.xml.ws.policy.PolicyException
-
- com.sun.xml.ws.policy.spi.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 Summary
Constructors Constructor Description AssertionCreationException(AssertionData assertionData, String message)Constructs a new assertion creation exception with the specified detail message and cause.AssertionCreationException(AssertionData assertionData, String message, Throwable cause)Constructs a new assertion creation exception with the specified detail message and cause.AssertionCreationException(AssertionData assertionData, Throwable cause)Constructs a new assertion creation exception with the specified detail message and cause.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssertionDatagetAssertionData()Retrieves assertion data associated with the exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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 withcauseis not automatically incorporated in this exception's detail message.- Parameters:
assertionData- the data provided for assertion creationmessage- 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 withcauseis not automatically incorporated in this exception's detail message.- Parameters:
assertionData- the data provided for assertion creationmessage- the detail message.cause- the cause. (Anullvalue 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 creationcause- the cause. (Anullvalue 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).
-
-