com.sun.mail.iap
Class BadCommandException

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.BadCommandException
All Implemented Interfaces:
java.io.Serializable

public class BadCommandException
extends ProtocolException

Author:
John Mani
See Also:
Serialized Form

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

BadCommandException

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


BadCommandException

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

Parameters:
s - the detail message

BadCommandException

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

Parameters:
r - the Response


Copyright © 2010 Sun Microsystems, Inc.. All Rights Reserved.