Package com.sun.mail.iap
Class BadCommandException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.mail.iap.ProtocolException
-
- com.sun.mail.iap.BadCommandException
-
- All Implemented Interfaces:
Serializable
public class BadCommandException extends ProtocolException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BadCommandException()
Constructs an BadCommandException with no detail message.BadCommandException(Response r)
Constructs an BadCommandException with the specified Response.BadCommandException(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
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
BadCommandException
public BadCommandException()
Constructs an BadCommandException with no detail message.
-
BadCommandException
public BadCommandException(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
-
-