Package ro.sync.ecss.extensions.api
Class AuthorOperationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- ro.sync.ecss.extensions.api.AuthorOperationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AuthorOperationStoppedByUserException
,PasteAsReferenceException
@API(type=EXTENDABLE, src=PUBLIC) public class AuthorOperationException extends java.lang.Exception
An exception thrown by anAuthorOperation
when it fails.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AuthorOperationException(java.lang.String message)
Constructor.AuthorOperationException(java.lang.String message, java.lang.Throwable cause)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isOperationRejectedOnPurpose()
void
setOperationRejectedOnPurpose(boolean operationRejected)
-
-
-
Constructor Detail
-
AuthorOperationException
public AuthorOperationException(java.lang.String message)
Constructor.- Parameters:
message
- The error message.
-
AuthorOperationException
public AuthorOperationException(java.lang.String message, java.lang.Throwable cause)
Constructor.- Parameters:
message
- The error message.cause
- The cause of the exception.
-
-
Method Detail
-
setOperationRejectedOnPurpose
public void setOperationRejectedOnPurpose(boolean operationRejected)
- Parameters:
operationRejected
- The operationRejected to set.
-
isOperationRejectedOnPurpose
public boolean isOperationRejectedOnPurpose()
- Returns:
true
if the operation was deliberately rejected. It is not a programming mistake.
-
-