|
|||||||||
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.MalformedException
Indicates that a SAML construct is invalid "on its face", based on the information available in the XML or the external constraints imposed on its use. Also used to indicate problems with method parameters.
Field Summary |
Fields inherited from class org.opensaml.SAMLException |
codes, config, e, log, msg, REQUESTER, RESPONDER, root, SUCCESS, VERSION |
Constructor Summary | |
|
MalformedException(java.util.Collection codes,
java.lang.Exception e)
Creates a new MalformedException wrapping an existing exception |
|
MalformedException(java.util.Collection codes,
java.lang.String msg)
Creates a new MalformedException |
|
MalformedException(java.util.Collection codes,
java.lang.String msg,
java.lang.Exception e)
Creates a new MalformedException from an existing exception. |
protected |
MalformedException(org.w3c.dom.Element e)
Creates a new MalformedException |
|
MalformedException(QName code,
java.lang.Exception e)
Creates a new MalformedException wrapping an existing exception |
|
MalformedException(QName code,
java.lang.String msg)
Creates a new MalformedException |
|
MalformedException(QName code,
java.lang.String msg,
java.lang.Exception e)
Creates a new MalformedException from an existing exception. |
|
MalformedException(java.lang.String msg)
Creates a new MalformedException |
|
MalformedException(java.lang.String msg,
java.lang.Exception e)
Creates a new MalformedException |
Methods inherited from class org.opensaml.SAMLException |
clone, fromDOM, getCodes, getException, getInstance, getInstance, getMessage, toDOM, 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 |
Constructor Detail |
protected MalformedException(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 MalformedException(java.lang.String msg)
msg
- The detail messagepublic MalformedException(java.lang.String msg, java.lang.Exception e)
msg
- The detail messagee
- The exception to be wrapped in a MalformedExceptionpublic MalformedException(java.util.Collection codes, java.lang.String msg)
codes
- A collection of QNamesmsg
- The detail messagepublic MalformedException(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 MalformedException.
codes
- A collection of QNamese
- The exception to be wrapped in a MalformedExceptionpublic MalformedException(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 MalformedExceptionpublic MalformedException(QName code, java.lang.String msg)
code
- A status codemsg
- The detail messagepublic MalformedException(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 MalformedException.
code
- A status codee
- The exception to be wrapped in a MalformedExceptionpublic MalformedException(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 MalformedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |