FileDocCategorySizeDatePackage
AssertionCreationException.javaAPI DocExample4482Tue May 29 16:56:40 BST 2007com.sun.xml.ws.policy.spi

AssertionCreationException

public final class AssertionCreationException extends com.sun.xml.ws.policy.PolicyException
Exception thrown in case of assertion creation failure.
author
Marek Potociar

Fields Summary
private final com.sun.xml.ws.policy.sourcemodel.AssertionData
assertionData
Constructors Summary
public AssertionCreationException(com.sun.xml.ws.policy.sourcemodel.AssertionData assertionData, String message)
Constructs a new assertion creation exception with the specified detail message and cause.

Note that the detail message associated with {@code cause} is not automatically incorporated in this exception's detail message.

param
assertionData the data provided for assertion creation
param
message the detail message.

        super(message);
        this.assertionData = assertionData;
    
public AssertionCreationException(com.sun.xml.ws.policy.sourcemodel.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 {@code cause} is not automatically incorporated in this exception's detail message.

param
assertionData the data provided for assertion creation
param
message the detail message.
param
cause the cause. (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)

        super(message, cause);
        this.assertionData = assertionData;
    
public AssertionCreationException(com.sun.xml.ws.policy.sourcemodel.AssertionData assertionData, Throwable cause)
Constructs a new assertion creation exception with the specified detail message and cause.

param
assertionData the data provided for assertion creation
param
cause the cause. (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)

        super(cause);
        this.assertionData = assertionData;
    
Methods Summary
public com.sun.xml.ws.policy.sourcemodel.AssertionDatagetAssertionData()
Retrieves assertion data associated with the exception.

return
associated assertion data (present when assertion creation failed raising this exception).

        return this.assertionData;