public class

ProtocolException

extends Exception
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.code.com.sun.mail.iap.ProtocolException
Known Direct Subclasses

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class java.lang.Exception
From class java.lang.Throwable
Fields
protected Response response
[Expand]
Inherited Fields
From class java.lang.Throwable
Public Constructors
ProtocolException()
Constructs a ProtocolException with no detail message.
ProtocolException(String message)
Constructs a ProtocolException with the specified detail message.
ProtocolException(String message, Throwable cause)
Constructs a ProtocolException with the specified detail message and cause.
ProtocolException(Response r)
Constructs a ProtocolException with the specified Response object.
Public Methods
Response getResponse()
Return the offending Response object.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: -4360500807971797439 (0xc37c639e3a098641)

Fields

protected Response response

Public Constructors

public ProtocolException ()

Constructs a ProtocolException with no detail message.

public ProtocolException (String message)

Constructs a ProtocolException with the specified detail message.

Parameters
message The detail message

public ProtocolException (String message, Throwable cause)

Constructs a ProtocolException with the specified detail message and cause.

Parameters
message The detail message
cause The cause

public ProtocolException (Response r)

Constructs a ProtocolException with the specified Response object.

Parameters
r

Public Methods

public Response getResponse ()

Return the offending Response object.