org.opensaml
Class TrustException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.opensaml.SAMLException
              extended by org.opensaml.InvalidCryptoException
                  extended by org.opensaml.TrustException
All Implemented Interfaces:
Serializable, Cloneable

public class TrustException
extends InvalidCryptoException
implements Cloneable

Indicates an error at a level somewhere above core processing rules, generally involving

Author:
Scott Cantor
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.opensaml.SAMLException
codes, config, e, log, msg, parentObject, REQUESTER, RESPONDER, root, SUCCESS, VERSION
 
Constructor Summary
  TrustException(Collection codes, Exception e)
          Creates a new TrustException wrapping an existing exception
  TrustException(Collection codes, String msg)
          Creates a new TrustException
  TrustException(Collection codes, String msg, Exception e)
          Creates a new TrustException from an existing exception.
protected TrustException(Element e)
          Creates a new TrustException
  TrustException(javax.xml.namespace.QName code, Exception e)
          Creates a new TrustException wrapping an existing exception
  TrustException(javax.xml.namespace.QName code, String msg)
          Creates a new TrustException
  TrustException(javax.xml.namespace.QName code, String msg, Exception e)
          Creates a new TrustException from an existing exception.
  TrustException(String msg)
          Creates a new TrustException
  TrustException(String msg, Exception e)
          Creates a new TrustException
 
Method Summary
 
Methods inherited from class org.opensaml.SAMLException
clone, fromDOM, getCodes, getException, getInstance, getInstance, getMessage, getParent, setParent, 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

TrustException

protected TrustException(Element e)
                  throws SAMLException
Creates a new TrustException

Parameters:
e - The root of a DOM tree
Throws:
SAMLException - Raised if an exception occurs while constructing the object.

TrustException

public TrustException(String msg)
Creates a new TrustException

Parameters:
msg - The detail message

TrustException

public TrustException(String msg,
                      Exception e)
Creates a new TrustException

Parameters:
msg - The detail message
e - The exception to be wrapped in a TrustException

TrustException

public TrustException(Collection codes,
                      String msg)
Creates a new TrustException

Parameters:
codes - A collection of QNames
msg - The detail message

TrustException

public TrustException(Collection codes,
                      Exception e)
Creates a new TrustException wrapping an existing exception

The existing exception will be embedded in the new one, and its message will become the default message for the TrustException.

Parameters:
codes - A collection of QNames
e - The exception to be wrapped in a TrustException

TrustException

public TrustException(Collection codes,
                      String msg,
                      Exception e)
Creates a new TrustException from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.

Parameters:
codes - A collection of QNames
msg - The detail message
e - The exception to be wrapped in a TrustException

TrustException

public TrustException(javax.xml.namespace.QName code,
                      String msg)
Creates a new TrustException

Parameters:
code - A status code
msg - The detail message

TrustException

public TrustException(javax.xml.namespace.QName code,
                      Exception e)
Creates a new TrustException wrapping an existing exception

The existing exception will be embedded in the new one, and its message will become the default message for the TrustException.

Parameters:
code - A status code
e - The exception to be wrapped in a TrustException

TrustException

public TrustException(javax.xml.namespace.QName code,
                      String msg,
                      Exception e)
Creates a new TrustException from an existing exception.

The existing exception will be embedded in the new one, but the new exception will have its own message.

Parameters:
code - A status code
msg - The detail message
e - The exception to be wrapped in a TrustException


Copyright ? 2005 UCAID. All Rights Reserved.