Package com.sun.mail.iap
Class CommandFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.sun.mail.iap.ProtocolException
com.sun.mail.iap.CommandFailedException
- All Implemented Interfaces:
Serializable
- Author:
- John Mani
- See Also:
-
Field Summary
Fields inherited from class com.sun.mail.iap.ProtocolException
response
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an CommandFailedException with no detail message.Constructs an CommandFailedException with the specified Response.Constructs an CommandFailedException with the specified detail message. -
Method Summary
Methods inherited from class com.sun.mail.iap.ProtocolException
getResponse
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandFailedException
public CommandFailedException()Constructs an CommandFailedException with no detail message. -
CommandFailedException
Constructs an CommandFailedException with the specified detail message.- Parameters:
s
- the detail message
-
CommandFailedException
Constructs an CommandFailedException with the specified Response.- Parameters:
r
- the Response.
-