Enhydra-Oyster 2.1-7 API

org.enhydra.oyster.exception
Class SMIMEIOException

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

public class SMIMEIOException
extends java.io.IOException

SMIMEIOException is exception which is thrown in the classes specific for SMIME and in the processes associated with SMIME, but only where is imposible to throw SMIMEException instead of IOException. This is situation, for example, in case of implementation of interfaces whose methods are defined to throw IOException. If in such method SMIMEException occures, we must throw SMIMEIOException instead of it.

See Also:
Serialized Form

Constructor Summary
SMIMEIOException(int errNumb0)
          Construction with the given error number.
SMIMEIOException(SMIMEException exception0)
          Construction with SMIMEException object as parameter.
SMIMEIOException(java.lang.Throwable th0, int errNumb0)
          Construction with the given Throwable object and the appropriate 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

SMIMEIOException

public SMIMEIOException(SMIMEException exception0)
Construction with SMIMEException object as parameter.

Parameters:
exception0 - SMIMEException object which is reason for throwing SMIMEIOException exception.

SMIMEIOException

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

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

SMIMEIOException

public SMIMEIOException(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.

Enhydra-Oyster 2.1-7 API