public class OperationException extends Exception
Constructor and Description |
---|
OperationException(String message,
int errorCode)
Constructs a new CommentOperationException with the specified message and cause.
|
OperationException(String message,
Throwable cause,
int errorCode)
Constructs a new CommentOperationException with the specified message and cause.
|
OperationException(Throwable cause,
int errorCode)
Constructs a new CommentOperationException with the specified message and cause.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Get the HttpResponse error code.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public OperationException(String message, int errorCode)
message
- The detailed message.errorCode
- the HTTP error code that can be associated with this exception.public OperationException(String message, Throwable cause, int errorCode)
message
- The detailed messagecause
- The causeerrorCode
- the HTTP error code that can be associated with this exception.public OperationException(Throwable cause, int errorCode)
cause
- The causeerrorCode
- the HTTP error code that can be associated with this exception."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"