com.sun.mail.iap
Class CommandFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.mail.iap.ProtocolException
              extended by com.sun.mail.iap.CommandFailedException
All Implemented Interfaces:
java.io.Serializable

public class CommandFailedException
extends ProtocolException

Author:
John Mani
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.mail.iap.ProtocolException
response
 
Constructor Summary
CommandFailedException()
          Constructs an CommandFailedException with no detail message.
CommandFailedException(Response r)
          Constructs an CommandFailedException with the specified Response.
CommandFailedException(java.lang.String s)
          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
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

CommandFailedException

public CommandFailedException()
Constructs an CommandFailedException with no detail message.


CommandFailedException

public CommandFailedException(java.lang.String s)
Constructs an CommandFailedException with the specified detail message.

Parameters:
s - the detail message

CommandFailedException

public CommandFailedException(Response r)
Constructs an CommandFailedException with the specified Response.

Parameters:
r - the Response.


Copyright © 2011. All Rights Reserved.