public class ResourceNotFoundException extends ApiException
Constructor and Description |
---|
ResourceNotFoundException(String message)
Constructor
|
ResourceNotFoundException(String resource,
String message)
Constructor
|
ResourceNotFoundException(String resource,
String message,
Throwable cause)
Constructor
|
ResourceNotFoundException(String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
resource() |
fillInStackTrace
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ResourceNotFoundException(String message)
message
- the exception's messagepublic ResourceNotFoundException(String message, Throwable cause)
message
- the exception's messagecause
- the exception's causepublic ResourceNotFoundException(String resource, String message)
resource
- the (potentially null) resource that was not foundmessage
- the exception's messagepublic String resource()