public class DuplicateResourceException extends ApiException
Constructor and Description |
---|
DuplicateResourceException(java.lang.String message)
Constructor
|
DuplicateResourceException(java.lang.String resource,
java.lang.String message)
Constructor
|
DuplicateResourceException(java.lang.String resource,
java.lang.String message,
java.lang.Throwable cause)
Constructor
|
DuplicateResourceException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
resource() |
fillInStackTrace
public DuplicateResourceException(java.lang.String message)
message
- the exception's messagepublic DuplicateResourceException(java.lang.String message, java.lang.Throwable cause)
message
- the exception's messagecause
- the exception's causepublic DuplicateResourceException(java.lang.String resource, java.lang.String message)
resource
- the (potentially null) resource that was referred to twicemessage
- the exception's messagepublic DuplicateResourceException(java.lang.String resource, java.lang.String message, java.lang.Throwable cause)
resource
- the (potentially null) resource that was referred to twicemessage
- the exception's messagecause
- the exception's cause