FileDocCategorySizeDatePackage
PolicyModelAccessException.javaAPI DocExample3340Tue May 29 16:56:38 BST 2007com.sun.xml.ws.policy.sourcemodel

PolicyModelAccessException

public class PolicyModelAccessException extends com.sun.xml.ws.policy.PolicyException
author
Marek Potociar

Fields Summary
Constructors Summary
public PolicyModelAccessException(URI modelUri)

        super(PolicyModelAccessException.createMessage(modelUri, null));
    
public PolicyModelAccessException(URI modelUri, String reason)

        super(PolicyModelAccessException.createMessage(modelUri, reason));
    
public PolicyModelAccessException(URI modelUri, String reason, Throwable cause)

        super(PolicyModelAccessException.createMessage(modelUri, reason), cause);
    
public PolicyModelAccessException(URI modelUri, Throwable cause)

        super(PolicyModelAccessException.createMessage(modelUri, null), cause);
    
Methods Summary
private static java.lang.StringcreateMessage(java.net.URI modelUri, java.lang.String reason)

        return  (reason != null && reason.length() > 0) ? 
            LocalizationMessages.WSP_0017_UNABLE_TO_ACCESS_POLICY_SOURCE_MODEL_PLUS_REASON(modelUri, reason) :
            LocalizationMessages.WSP_0018_UNABLE_TO_ACCESS_POLICY_SOURCE_MODEL(modelUri);