iaik.cms
Class CMSRuntimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by iaik.cms.CMSRuntimeException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SMimeRuntimeException

public class CMSRuntimeException
extends java.lang.RuntimeException

This exception may be thrown if there occurs an error caused at runtime.

See Also:
Serialized Form

Field Summary
protected  java.lang.Exception exception_
          The exception wrapped by this RuntimeException, if present.
 
Constructor Summary
CMSRuntimeException()
          Constructs a new runtime exception.
CMSRuntimeException(java.lang.Exception ex)
          Constructs an CMSRuntimeException with the exception which causes this exception.
CMSRuntimeException(java.lang.String msg)
          Constructs an CMSRuntimeException with a specified detail message.
CMSRuntimeException(java.lang.String msg, java.lang.Exception ex)
          Constructs an CMSRuntimeException with a specified detail message and the exception which causes this exception.
 
Method Summary
 java.lang.Exception getException()
          Returns the exception which causes this CMSRuntimeException.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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
 

Field Detail

exception_

protected java.lang.Exception exception_
The exception wrapped by this RuntimeException, if present.

Constructor Detail

CMSRuntimeException

public CMSRuntimeException()
Constructs a new runtime exception.


CMSRuntimeException

public CMSRuntimeException(java.lang.Exception ex)
Constructs an CMSRuntimeException with the exception which causes this exception.

Parameters:
ex - the exception causing this exception

CMSRuntimeException

public CMSRuntimeException(java.lang.String msg)
Constructs an CMSRuntimeException with a specified detail message.

Parameters:
msg - the detail message.

CMSRuntimeException

public CMSRuntimeException(java.lang.String msg,
                           java.lang.Exception ex)
Constructs an CMSRuntimeException with a specified detail message and the exception which causes this exception.

Parameters:
msg - the detail message
ex - the exception causing this exception
Method Detail

getException

public java.lang.Exception getException()
Returns the exception which causes this CMSRuntimeException.

Returns:
the exception, which causes this exception

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

IAIK-CMS 6.0, (c) 2002 IAIK, (c) 2003, 2023 SIC