public class ResourceExchangeException extends Exception
Constructor and Description |
---|
ResourceExchangeException(String message,
String url)
Constructor
|
ResourceExchangeException(String message,
String url,
int code)
Constructor
|
ResourceExchangeException(String message,
String url,
Throwable t)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getCode()
Get the error code
|
String |
getUrl()
Get the URL that caused the exception
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceExchangeException(String message, String url, Throwable t)
message
- error messageurl
- URL that caused the exceptiont
- root causepublic ResourceExchangeException(String message, String url, int code)
message
- error messageurl
- URL that caused the exceptioncode
- error codepublic int getCode()
public String getUrl()
This documentation was released into the public domain.