Skip navigation links
oracle.stellent.ridc.protocol.http
Class HttpProtocolException
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.stellent.ridc.IdcClientException
oracle.stellent.ridc.protocol.ProtocolException
oracle.stellent.ridc.protocol.http.HttpProtocolException
- All Implemented Interfaces:
- java.io.Serializable
-
public class HttpProtocolException
- extends ProtocolException
Exceptions in the IdcHttpProtocol implementation
- See Also:
- Serialized Form
Constructor Summary |
HttpProtocolException(int status, java.util.Map<java.lang.String,java.lang.String> headers)
|
HttpProtocolException(java.lang.String message, int status, java.util.Map<java.lang.String,java.lang.String> headers)
|
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 |
HttpProtocolException
public HttpProtocolException(java.lang.String message,
int status,
java.util.Map<java.lang.String,java.lang.String> headers)
-
- Parameters:
message
- the detail message.
status
- the http status code
headers
- the http headers
HttpProtocolException
public HttpProtocolException(int status,
java.util.Map<java.lang.String,java.lang.String> headers)
-
- Parameters:
status
- the http status code
headers
- the http headers
getStatus
public int getStatus()
-
- Returns:
- the http status code
getHeaders
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
-
- Returns:
- the http headers
Skip navigation links
Copyright © 2008, 2010, Oracle and/or its affiliates. All rights reserved.