Enhydra-Oyster 2.1-7 API

org.enhydra.oyster.exception
Class SMIMEException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.enhydra.oyster.exception.SMIMEException
All Implemented Interfaces:
java.io.Serializable

public class SMIMEException
extends java.lang.Exception

SMIMEException is exception which is thrown in the classes specific for SMIME and in the processes associated with SMIME. It contains messages describing appeared problems.

See Also:
Serialized Form

Constructor Summary
SMIMEException(int errNumb0)
          Construction with the given error number.
SMIMEException(java.lang.Throwable th0)
          Construction with the given Throwable object which is cause of SMIME Exception.
SMIMEException(java.lang.Throwable th0, int errNumb0)
          Construction with the given Throwable object and the appropriate error number.
 
Method Summary
 int getErrNo()
          Returns error number
 
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
 

Constructor Detail

SMIMEException

public SMIMEException(java.lang.Throwable th0)
Construction with the given Throwable object which is cause of SMIME Exception.

Parameters:
th0 - the external Exception - cause of SMIME exception.

SMIMEException

public SMIMEException(int errNumb0)
Construction with the given error number.

Parameters:
errNumb0 - error number corresponds to appropriate error message stored in ErrorStorage class.

SMIMEException

public SMIMEException(java.lang.Throwable th0,
                      int errNumb0)
Construction with the given Throwable object and the appropriate error number.

Parameters:
th0 - the external Exception - cause of SMIME exception.
errNumb0 - error number corresponds to appropriate error message stored in ErrorStorage class.
Method Detail

getErrNo

public int getErrNo()
Returns error number

Returns:
error number or -1 if error number is not set during construction of exception.

Enhydra-Oyster 2.1-7 API