org.opensaml
Class InvalidCryptoException

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

public class InvalidCryptoException
extends SAMLException
implements Cloneable

Indicates a key or certificate subclass type is incompatible with the provider's policies, or a cryptographic problem was found while processing a message.

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
  InvalidCryptoException(Collection codes, Exception e)
          Creates a new InvalidCryptoException wrapping an existing exception
  InvalidCryptoException(Collection codes, String msg)
          Creates a new InvalidCryptoException
  InvalidCryptoException(Collection codes, String msg, Exception e)
          Creates a new InvalidCryptoException from an existing exception.
protected InvalidCryptoException(Element e)
          Creates a new InvalidCryptoException
  InvalidCryptoException(javax.xml.namespace.QName code, Exception e)
          Creates a new InvalidCryptoException wrapping an existing exception
  InvalidCryptoException(javax.xml.namespace.QName code, String msg)
          Creates a new InvalidCryptoException
  InvalidCryptoException(javax.xml.namespace.QName code, String msg, Exception e)
          Creates a new InvalidCryptoException from an existing exception.
  InvalidCryptoException(String msg)
          Creates a new InvalidCryptoException
  InvalidCryptoException(String msg, Exception e)
          Creates a new InvalidCryptoException
 
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

InvalidCryptoException

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

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

InvalidCryptoException

public InvalidCryptoException(String msg)
Creates a new InvalidCryptoException

Parameters:
msg - The detail message

InvalidCryptoException

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

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

InvalidCryptoException

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

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

InvalidCryptoException

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

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

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

InvalidCryptoException

public InvalidCryptoException(Collection codes,
                              String msg,
                              Exception e)
Creates a new InvalidCryptoException 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 InvalidCryptoException

InvalidCryptoException

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

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

InvalidCryptoException

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

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

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

InvalidCryptoException

public InvalidCryptoException(javax.xml.namespace.QName code,
                              String msg,
                              Exception e)
Creates a new InvalidCryptoException 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 InvalidCryptoException


Copyright ? 2005 UCAID. All Rights Reserved.