|
Oracle® Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.9.0) E52936-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
oracle.adf.view.rich.remote.HttpException
public class HttpException
This exception is added to an ERROR response when there was a connecton issue of some kind. Typical connection issues that one would find in this status are errors, but there could also be more. While SOME of these issues are handled by the framework explicitly (like redirects and authorization type requests), this exception will be thrown when the result is one that is NOT explicitly handled by the framework. <p/> The "message" provided by this exception is expected to be a string representing the status of the remote request.
Constructor Summary | |
---|---|
HttpException(java.lang.String string) Deprecated. please use the version that provides a status code. |
|
HttpException(java.lang.String string, int statusCode) Creates a new HttpException with a status code |
Method Summary | |
---|---|
int |
getStatusCode() Returns the HttpStatusCode which describes the error. |
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 |
Constructor Detail |
---|
@Deprecated
public HttpException(java.lang.String string)
string
- a string describing the issuepublic HttpException(java.lang.String string, int statusCode)
string
- a string describing the issuestatusCode
- the status code of the errorMethod Detail |
---|
public int getStatusCode()
|
Oracle® Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.9.0) E52936-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |