Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

hk.hku.cecid.phoenix.pki
Class SMIMEException  view SMIMEException download SMIMEException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byhk.hku.cecid.phoenix.pki.SMIMEException
All Implemented Interfaces:
java.io.Serializable

public class SMIMEException
extends java.lang.Exception

The exception will be thrown when generating SMIME mime body or mime message

Version:
$Revision: 1.2 $

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private  java.lang.Exception nestedException
           
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
SMIMEException(java.lang.String msg)
          Construtor with message.
SMIMEException(java.lang.String msg, java.lang.Exception e)
          Instantiate the exception with a nested exception
 
Method Summary
 java.lang.String getMessage()
          It overrides the getMessage() method so it also reports the nested exception , if it exists.
 java.lang.Exception getNestedException()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

nestedException

private java.lang.Exception nestedException
Constructor Detail

SMIMEException

public SMIMEException(java.lang.String msg)
Construtor with message.


SMIMEException

public SMIMEException(java.lang.String msg,
                      java.lang.Exception e)
Instantiate the exception with a nested exception

Method Detail

getNestedException

public java.lang.Exception getNestedException()

getMessage

public java.lang.String getMessage()
It overrides the getMessage() method so it also reports the nested exception , if it exists.