com.sun.mail.iap
类 ProtocolException

java.lang.Object
  继承者 java.lang.Throwable
      继承者 java.lang.Exception
          继承者 com.sun.mail.iap.ProtocolException
所有已实现的接口:
Serializable
直接已知子类:
BadCommandException, CommandFailedException, ConnectionException, LiteralException, ParsingException

public class ProtocolException
extends Exception

作者:
John Mani
另请参见:
序列化表格

字段摘要
protected  Response response
           
 
构造方法摘要
ProtocolException()
          Constructs a ProtocolException with no detail message.
ProtocolException(Response r)
          Constructs a ProtocolException with the specified Response object.
ProtocolException(String s)
          Constructs a ProtocolException with the specified detail message.
 
方法摘要
 Response getResponse()
          Return the offending Response object.
 
从类 java.lang.Throwable 继承的方法
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

字段详细信息

response

protected transient Response response
构造方法详细信息

ProtocolException

public ProtocolException()
Constructs a ProtocolException with no detail message.


ProtocolException

public ProtocolException(String s)
Constructs a ProtocolException with the specified detail message.

参数:
s - the detail message

ProtocolException

public ProtocolException(Response r)
Constructs a ProtocolException with the specified Response object.

方法详细信息

getResponse

public Response getResponse()
Return the offending Response object.



Copyright © 2013. All Rights Reserved.