public class WebServiceException extends Exception
Constructor and Description |
---|
WebServiceException()
Constructor.
|
WebServiceException(int status)
Constructor.
|
WebServiceException(String message)
Constructor.
|
WebServiceException(String message,
int status)
Constructor.
|
WebServiceException(String message,
Throwable cause)
Constructor.
|
WebServiceException(String message,
Throwable cause,
int status)
Constructor.
|
WebServiceException(Throwable cause)
Constructor.
|
WebServiceException(Throwable cause,
int status)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getStatus()
Get the exception's status.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WebServiceException()
public WebServiceException(String message, Throwable cause)
message
- Exception message.cause
- An exception.public WebServiceException(String message)
message
- Exception message.public WebServiceException(Throwable cause)
cause
- An exception.public WebServiceException(int status)
status
- It's usually a HTTP Status Code (404, 500, etc.)public WebServiceException(String message, Throwable cause, int status)
message
- Exception message.cause
- An exception.status
- It's usually a HTTP Status Code (404, 500, etc.)public WebServiceException(String message, int status)
message
- Exception message.status
- It's usually a HTTP Status Code (404, 500, etc.)public WebServiceException(Throwable cause, int status)
cause
- An exception.status
- It's usually a HTTP Status Code (404, 500, etc.)Copyright © 2012 ElPaso Software. All Rights Reserved.