public class OperationException
extends java.lang.Exception
Constructor and Description |
---|
OperationException(java.lang.String message,
int errorCode)
Constructs a new CommentOperationException with the specified message and cause.
|
OperationException(java.lang.String message,
java.lang.Throwable cause,
int errorCode)
Constructs a new CommentOperationException with the specified message and cause.
|
OperationException(java.lang.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.
|
public OperationException(java.lang.String message, int errorCode)
message
- The detailed message.errorCode
- the HTTP error code that can be associated with this exception.public OperationException(java.lang.String message, java.lang.Throwable cause, int errorCode)
message
- The detailed messagecause
- The causeerrorCode
- the HTTP error code that can be associated with this exception.public OperationException(java.lang.Throwable cause, int errorCode)
cause
- The causeerrorCode
- the HTTP error code that can be associated with this exception.Copyright © 2010 - 2020 Adobe. All Rights Reserved