org.pre4j.xml
Class XMLEncryptionParserException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.pre4j.xml.XMLEncryptionParserException
All Implemented Interfaces:
java.io.Serializable

public class XMLEncryptionParserException
extends java.lang.Exception

This exception is thrown in case of errors during parsing XML-Encryption envelopes. It usually has an inner exception describing the details.

Author:
Mark Giereth
See Also:
Serialized Form

Constructor Summary
XMLEncryptionParserException(java.lang.String message)
          Creates a new XMLEncryptionParserException instance.
XMLEncryptionParserException(java.lang.String message, java.lang.Throwable cause)
          Creates a new XMLEncryptionParserException instance.
XMLEncryptionParserException(java.lang.Throwable cause)
          Creates a new XMLEncryptionParserException instance.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the the inner exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XMLEncryptionParserException

public XMLEncryptionParserException(java.lang.String message)
Creates a new XMLEncryptionParserException instance.

Parameters:
message - the error message

XMLEncryptionParserException

public XMLEncryptionParserException(java.lang.String message,
                                    java.lang.Throwable cause)
Creates a new XMLEncryptionParserException instance.

Parameters:
message - the error message
cause - the inner exception

XMLEncryptionParserException

public XMLEncryptionParserException(java.lang.Throwable cause)
Creates a new XMLEncryptionParserException instance.

Parameters:
cause - the inner exception
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the the inner exception.

Overrides:
getCause in class java.lang.Throwable