|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opensaml.SAMLException
org.opensaml.BindingException
org.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 org.opensaml.SAMLException |
|---|
codes, config, e, log, msg, parentObject, REQUESTER, RESPONDER, root, SUCCESS |
| Constructor Summary | |
|---|---|
|
SOAPException(Collection codes,
Exception e)
Creates a new SOAPException wrapping an existing exception |
|
SOAPException(Collection codes,
String msg)
Creates a new SOAPException |
|
SOAPException(Collection codes,
String msg,
Exception e)
Creates a new SOAPException from an existing exception. |
protected |
SOAPException(Element e)
Creates a new SOAPException |
|
SOAPException(javax.xml.namespace.QName code,
Exception e)
Creates a new SOAPException wrapping an existing exception |
|
SOAPException(javax.xml.namespace.QName code,
String msg)
Creates a new SOAPException |
|
SOAPException(javax.xml.namespace.QName code,
String msg,
Exception e)
Creates a new SOAPException from an existing exception. |
|
SOAPException(String msg)
Creates a new SOAPException |
|
SOAPException(String msg,
Exception e)
Creates a new SOAPException |
| Method Summary | |
|---|---|
void |
fromDOM(Element e)
Handles initialization of exceptions from a DOM element |
Node |
toDOM(Document doc)
Transforms the object into a DOM tree using an existing document context |
| Methods inherited from class org.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(Element e)
throws SAMLException
e - The root of a DOM tree
SAMLException - Raised if an exception occurs while constructing
the object.public SOAPException(String msg)
msg - The detail message
public SOAPException(String msg,
Exception e)
msg - The detail messagee - The exception to be wrapped in a SOAPException
public SOAPException(Collection codes,
String msg)
codes - A collection of QNamesmsg - The detail message
public SOAPException(Collection codes,
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(Collection codes,
String msg,
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,
String msg)
code - A status codemsg - The detail message
public SOAPException(javax.xml.namespace.QName code,
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,
String msg,
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(Element e)
throws SAMLException
fromDOM in class SAMLExceptione -
SAMLException - Raised if an exception occurs while initializing the object
public Node toDOM(Document doc)
throws DOMException
toDOM in class SAMLExceptiondoc - A Document object to use in manufacturing the
tree
DOMException - Raised if an XML exception is detected
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||