@API(type=EXTENDABLE,
src=PUBLIC)
public class AuthorOperationException
extends java.lang.Exception
AuthorOperation
when it fails.Constructor and Description |
---|
AuthorOperationException(java.lang.String message)
Constructor.
|
AuthorOperationException(java.lang.String message,
java.lang.Throwable cause)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isOperationRejectedOnPurpose() |
void |
setOperationRejectedOnPurpose(boolean operationRejected) |
public AuthorOperationException(java.lang.String message)
message
- The error message.public AuthorOperationException(java.lang.String message, java.lang.Throwable cause)
message
- The error message.cause
- The cause of the exception.public void setOperationRejectedOnPurpose(boolean operationRejected)
operationRejected
- The operationRejected to set.public boolean isOperationRejectedOnPurpose()
true
if the operation was deliberately rejected. It is not a programming mistake.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.