|
||||||||||
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
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 QName |
CLIENT
SOAP Client fault code |
static QName |
MUSTUNDERSTAND
SOAP MustUnderstand fault code |
static QName |
SERVER
SOAP Server fault code |
static 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(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 QName CLIENT
public static final QName SERVER
public static final QName MUSTUNDERSTAND
public static final 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 messagepublic SOAPException(String msg, Exception e)
msg
- The detail messagee
- The exception to be wrapped in a SOAPExceptionpublic SOAPException(Collection codes, String msg)
codes
- A collection of QNamesmsg
- The detail messagepublic 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 SOAPExceptionpublic 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 SOAPExceptionMethod Detail |
public void fromDOM(Element e) throws SAMLException
fromDOM
in class SAMLException
e
-
SAMLException
- Raised if an exception occurs while initializing the objectpublic Node toDOM(Document doc) throws DOMException
toDOM
in class SAMLException
doc
- 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 |