public class HttpException
extends java.lang.Exception
In case that the cause for throwing HttpException is not exception but invalid client operation or server response, HttpException message will contain textual part of server response.
Constructor and Description |
---|
HttpException(java.lang.String message)
Creates exception with specified message string.
|
HttpException(java.lang.String message,
java.lang.Throwable cause)
Creates exception with specified message string and source exception
|
HttpException(java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
static HttpException |
wrap(java.lang.Exception e) |
public HttpException(java.lang.String message)
message
- the message of exceptionpublic HttpException(java.lang.String message, java.lang.Throwable cause)
message
- the message of exceptioncause
- the exception which caused this exceptionpublic HttpException(java.lang.Throwable cause)
public static HttpException wrap(java.lang.Exception e)
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved