|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
gov.nih.nci.cagrid.opensaml.SAMLException
gov.nih.nci.cagrid.opensaml.BindingException
gov.nih.nci.cagrid.opensaml.SOAPException
public class SOAPException
Indicates that a SOAP processing error occurred in the context of the SAML SOAP binding. This subclass signals a binding implementation to return a SOAP fault instead of a SAML error.
| Field Summary | |
|---|---|
static javax.xml.namespace.QName |
CLIENT
SOAP Client fault code |
static javax.xml.namespace.QName |
MUSTUNDERSTAND
SOAP MustUnderstand fault code |
static javax.xml.namespace.QName |
SERVER
SOAP Server fault code |
static javax.xml.namespace.QName |
VERSION
SOAP Version Mismatch status code |
| Fields inherited from class gov.nih.nci.cagrid.opensaml.SAMLException |
|---|
codes, config, e, log, msg, parentObject, REQUESTER, RESPONDER, root, SUCCESS |
| Constructor Summary | |
|---|---|
|
SOAPException(java.util.Collection codes,
java.lang.Exception e)
Creates a new SOAPException wrapping an existing exception |
|
SOAPException(java.util.Collection codes,
java.lang.String msg)
Creates a new SOAPException |
|
SOAPException(java.util.Collection codes,
java.lang.String msg,
java.lang.Exception e)
Creates a new SOAPException from an existing exception. |
protected |
SOAPException(org.w3c.dom.Element e)
Creates a new SOAPException |
|
SOAPException(javax.xml.namespace.QName code,
java.lang.Exception e)
Creates a new SOAPException wrapping an existing exception |
|
SOAPException(javax.xml.namespace.QName code,
java.lang.String msg)
Creates a new SOAPException |
|
SOAPException(javax.xml.namespace.QName code,
java.lang.String msg,
java.lang.Exception e)
Creates a new SOAPException from an existing exception. |
|
SOAPException(java.lang.String msg)
Creates a new SOAPException |
|
SOAPException(java.lang.String msg,
java.lang.Exception e)
Creates a new SOAPException |
| Method Summary | |
|---|---|
void |
fromDOM(org.w3c.dom.Element e)
Handles initialization of exceptions from a DOM element |
org.w3c.dom.Node |
toDOM(org.w3c.dom.Document doc)
Transforms the object into a DOM tree using an existing document context |
| Methods inherited from class gov.nih.nci.cagrid.opensaml.SAMLException |
|---|
clone, getCodes, getException, getInstance, getInstance, getMessage, getParent, setParent, toDOM, toDOM, toDOM, toStream, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final javax.xml.namespace.QName CLIENT
public static final javax.xml.namespace.QName SERVER
public static final javax.xml.namespace.QName MUSTUNDERSTAND
public static final javax.xml.namespace.QName VERSION
| Constructor Detail |
|---|
protected SOAPException(org.w3c.dom.Element e)
throws SAMLException
e - The root of a DOM tree
SAMLException - Raised if an exception occurs while constructing
the object.public SOAPException(java.lang.String msg)
msg - The detail message
public SOAPException(java.lang.String msg,
java.lang.Exception e)
msg - The detail messagee - The exception to be wrapped in a SOAPException
public SOAPException(java.util.Collection codes,
java.lang.String msg)
codes - A collection of QNamesmsg - The detail message
public SOAPException(java.util.Collection codes,
java.lang.Exception e)
The existing exception will be embedded in the new one, and its message will become the default message for the SOAPException.
codes - A collection of QNamese - The exception to be wrapped in a SOAPException
public SOAPException(java.util.Collection codes,
java.lang.String msg,
java.lang.Exception e)
The existing exception will be embedded in the new one, but the new exception will have its own message.
codes - A collection of QNamesmsg - The detail messagee - The exception to be wrapped in a SOAPException
public SOAPException(javax.xml.namespace.QName code,
java.lang.String msg)
code - A status codemsg - The detail message
public SOAPException(javax.xml.namespace.QName code,
java.lang.Exception e)
The existing exception will be embedded in the new one, and its message will become the default message for the SOAPException.
code - A status codee - The exception to be wrapped in a SOAPException
public SOAPException(javax.xml.namespace.QName code,
java.lang.String msg,
java.lang.Exception e)
The existing exception will be embedded in the new one, but the new exception will have its own message.
code - A status codemsg - The detail messagee - The exception to be wrapped in a SOAPException| Method Detail |
|---|
public void fromDOM(org.w3c.dom.Element e)
throws SAMLException
fromDOM in class SAMLExceptione -
SAMLException - Raised if an exception occurs while initializing the object
public org.w3c.dom.Node toDOM(org.w3c.dom.Document doc)
throws org.w3c.dom.DOMException
toDOM in class SAMLExceptiondoc - A Document object to use in manufacturing the
tree
org.w3c.dom.DOMException - Raised if an XML exception is detected
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||