org.nhindirect.stagent.mail
Class MimeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.nhindirect.stagent.NHINDException
                  extended by org.nhindirect.stagent.mail.MimeException
All Implemented Interfaces:
Serializable

public class MimeException
extends NHINDException

Exception thrown when an invalid message in encountered.

Author:
Greg Meyer, Umesh Madan
See Also:
Serialized Form

Constructor Summary
MimeException(MimeError error)
           
MimeException(MimeError error, Exception innerException)
          Constructs an exception with the mime error and the exception that caused the error.
MimeException(MimeError error, String message)
          Constructs an exception with a message and the mime error.
MimeException(MimeError error, String message, Exception innerException)
          Constructs an exception with the mime error, a message, and the exception that caused the error.
 
Method Summary
 
Methods inherited from class org.nhindirect.stagent.NHINDException
getError, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MimeException

public MimeException(MimeError error)

MimeException

public MimeException(MimeError error,
                     String message)
Constructs an exception with a message and the mime error.

Parameters:
error - The mime error
msg - The exception message.

MimeException

public MimeException(MimeError error,
                     Exception innerException)
Constructs an exception with the mime error and the exception that caused the error.

Parameters:
error - The mime error.
innerException - The exception that caused the error.

MimeException

public MimeException(MimeError error,
                     String message,
                     Exception innerException)
Constructs an exception with the mime error, a message, and the exception that caused the error.

Parameters:
error - The mime error.
msg - The exception message.
innerException - The exception that caused the error.


Copyright © 2010-2013 NHIN Direct. All Rights Reserved.