|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
BaseException
oracle.wsm.common.sdk.WSMException
public class WSMException
This is a new Exception class for handling OWSM Fault 11g code should create Fault using this WSMException class instead of the original com.cfluent.poicysteps.sdk.Fault
Field Summary | |
---|---|
static QName |
FAULTCODE_QNAME_FAILED_AUTHENTICATION |
static QName |
FAULTCODE_QNAME_FAILED_AUTHORIZATION |
static QName |
FAULTCODE_QNAME_FAILED_CHECK |
static QName |
FAULTCODE_QNAME_GENERIC |
static QName |
FAULTCODE_QNAME_INVALID_SECURITY |
static QName |
FAULTCODE_QNAME_INVALID_SECURITY_TOKEN |
static QName |
FAULTCODE_QNAME_SECURITY_TOKEN_UNAVAILABLE |
static QName |
FAULTCODE_QNAME_UNSUPPORTED_TOKEN |
static String |
NS_POLICY_ENFORCEMENT |
static String |
NS_PREFIX |
static String |
NS_SECURITY |
Constructor Summary | |
---|---|
|
WSMException(QName faultCodeQName) Construct the fault with a predefined fault code QName. |
|
WSMException(QName faultCodeQName, Throwable cause) Construct the fault with a predefined fault code QName. |
|
WSMException(String faultCodeLocalName) Construct the fault with a predefined fault code. |
|
WSMException(String faultCodeLocalName, Object[] args) Construct the fault with a predefined fault code . |
protected |
WSMException(String faultCodeLocalName, String message) !!!!WARNING: should not be used directly in oracle package (11g new code) should only be called by extended class Fault. |
|
WSMException(String faultNS, String faultCodeLocalName, String prefix, String faultActor, List<String> detailEntries, Throwable cause) Constructor that initialises the fault with a seperate namespace. |
|
WSMException(String faultNS, String faultCodeLocalName, String prefix, String faultActor, String detailEntry, Throwable cause) Constructor that initialises the fault with a seperate namespace. |
protected |
WSMException(String faultCodeLocalName, String message, Throwable cause) Backward Compatibility !!!!WARNING: should not be used directly in oracle package (11g new code) should only be called by extended class Fault. |
|
WSMException(String faultCodeLocalName, Throwable cause) Construct the fault with a predefined fault code . |
|
WSMException(Throwable cause) For None soap fault, caused by any exception. |
Method Summary | |
---|---|
void |
addDetailEntry(String entry) |
String |
getAgentFunction() |
String |
getAssertionName() |
String |
getCategory() |
List<String> |
getDetailEntries() |
String |
getEcid() |
String |
getFaultActor() Method to get the actor, that experienced the fault. |
String |
getFaultCode() Method to get the Fault Code. |
QName |
getFaultCodeAsQName() |
String |
getFaultNS() Method to get the namespace. |
String |
getFaultString() |
String |
getFaultString(Locale locale) method to return the fault string. |
String |
getLocalizedMessage(Locale locale) |
String |
getMessage() |
String |
getPolicyName() |
String |
getPolicyVersion() |
boolean |
hasServiceFaultCode() |
void |
setAgentFunction(String agentFunction) |
void |
setAssertionName(String assertionName) |
void |
setCategory(String category) |
void |
setEcid(String ecid) |
void |
setFaultCode(String faultCodeLocalName) |
void |
setPolicyName(String policyName) |
void |
setPolicyVersion(String policyVersion) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NS_POLICY_ENFORCEMENT
public static final String NS_SECURITY
public static final String NS_PREFIX
public static final QName FAULTCODE_QNAME_GENERIC
public static final QName FAULTCODE_QNAME_INVALID_SECURITY
public static final QName FAULTCODE_QNAME_FAILED_CHECK
public static final QName FAULTCODE_QNAME_INVALID_SECURITY_TOKEN
public static final QName FAULTCODE_QNAME_FAILED_AUTHORIZATION
public static final QName FAULTCODE_QNAME_FAILED_AUTHENTICATION
public static final QName FAULTCODE_QNAME_UNSUPPORTED_TOKEN
public static final QName FAULTCODE_QNAME_SECURITY_TOKEN_UNAVAILABLE
Constructor Detail |
---|
protected WSMException(String faultCodeLocalName, String message)
faultCode
- - the 10.1.3 errorcodemessage
- -- 10.1.3 already localized messageprotected WSMException(String faultCodeLocalName, String message, Throwable cause)
faultCodeLocalName
- - the 10.1.3 errorcodemessage
- -- 10.1.3 already localized messagecause
- -- parent exception/throwablepublic WSMException(Throwable cause)
cause
- The parent cause of this WSMException.public WSMException(String faultCodeLocalName)
faultCode
- The predefined fault codepublic WSMException(QName faultCodeQName)
faultCodeQName
- The predefined fault code QName, often one of the QName constance of this class.public WSMException(String faultCodeLocalName, Throwable cause)
faultCodeLocalName
- The predefined fault codecause
- The parent cause of this WSMException.public WSMException(QName faultCodeQName, Throwable cause)
faultCodeQName
- The predefined fault code QName, often one of the QName constance of this class.cause
- The parent cause of this WSMException.public WSMException(String faultNS, String faultCodeLocalName, String prefix, String faultActor, List<String> detailEntries, Throwable cause)
faultNS
- Fault Namespace.faultCodeLocalName
- Must be defined in EnforcementMessageID.java and its corresponding English locale specific message is defined in EnforcementMessageBundle.javaprefix
- the prefix of the namespace if there is anyfaultActor
-detailEntries
- a list of String entries which provide additional information about the faultcause
- The parent cause of the error as an Exception.public WSMException(String faultNS, String faultCodeLocalName, String prefix, String faultActor, String detailEntry, Throwable cause)
faultNS
- Fault Namespace.faultCodeLocalName
- Must be defined in EnforcementMessageID.java and its corresponding English locale specific message is defined in EnforcementMessageBundle.javaprefix
- the prefix of the namespace if there is anyfaultActor
-detailEntry
- adds a detail entry to the list of detailEntries about the faultcause
- The parent cause of the error as an Exception.public WSMException(String faultCodeLocalName, Object[] args)
faultCodeLocalName
- The predefined fault codeargs
- Arguments which can be passed.Method Detail |
---|
public void setFaultCode(String faultCodeLocalName)
public void addDetailEntry(String entry)
public String getFaultNS()
public String getFaultString(Locale locale)
public String getLocalizedMessage(Locale locale)
public String getFaultString()
public String getMessage()
public List<String> getDetailEntries()
public String getFaultActor()
public boolean hasServiceFaultCode()
public String getFaultCode()
public QName getFaultCodeAsQName()
public String getEcid()
public void setEcid(String ecid)
public String getPolicyName()
public void setPolicyName(String policyName)
public String getPolicyVersion()
public void setPolicyVersion(String policyVersion)
public String getCategory()
public void setCategory(String category)
public String getAssertionName()
public void setAssertionName(String assertionName)
public String getAgentFunction()
public void setAgentFunction(String agentFunction)
|
Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager 11g (11.1.1) E10689-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |