public class ProtocolException
extends java.lang.Exception
Constructor and Description |
---|
ProtocolException()
Constructs a ProtocolException with no detail message.
|
ProtocolException(Response r)
Constructs a ProtocolException with the specified Response object.
|
ProtocolException(java.lang.String message)
Constructs a ProtocolException with the specified detail message.
|
ProtocolException(java.lang.String message,
java.lang.Throwable cause)
Constructs a ProtocolException with the specified detail message
and cause.
|
Modifier and Type | Method and Description |
---|---|
Response |
getResponse()
Return the offending Response object.
|
public ProtocolException()
public ProtocolException(java.lang.String message)
message
- the detail messagepublic ProtocolException(java.lang.String message, java.lang.Throwable cause)
message
- the detail messagecause
- the causepublic ProtocolException(Response r)
r
- the Responsepublic Response getResponse()
Copyright © 2010 - 2020 Adobe. All Rights Reserved