com.jscape.inet.mime
Class MimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.jscape.inet.mime.MimeException
- All Implemented Interfaces:
- ExceptionWrapper, java.io.Serializable
public class MimeException
- extends java.lang.Exception
- implements ExceptionWrapper
MimeException is thrown by many methods of MimeMessage
classes.
The methods are masking various exception types into MimeException, but the
event message will be propagated.
- See Also:
- Serialized Form
Constructor Summary |
MimeException(java.lang.String message)
Creates exception with specified message string. |
MimeException(java.lang.String message,
java.lang.Exception exception)
Creates exception with specified message string and source exception. |
Method Summary |
java.lang.Exception |
getException()
Gets source of this exception. |
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 |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MimeException
public MimeException(java.lang.String message)
- Creates exception with specified message string.
- Parameters:
message
- the message of exception
MimeException
public MimeException(java.lang.String message,
java.lang.Exception exception)
- Creates exception with specified message string and source exception.
- Parameters:
message
- the message of exceptionexception
- the exception which caused this exception
getException
public java.lang.Exception getException()
- Gets source of this exception.
- Specified by:
getException
in interface ExceptionWrapper
- Returns:
- the source of this exception
Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved