Class AuthorOperationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
ro.sync.ecss.extensions.api.AuthorOperationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AuthorOperationStoppedByUserException, PasteAsReferenceException

@API(type=EXTENDABLE, src=PUBLIC) public class AuthorOperationException extends Exception
An exception thrown by an AuthorOperation when it fails.
See Also:
  • Constructor Details

    • AuthorOperationException

      public AuthorOperationException(String message)
      Constructor.
      Parameters:
      message - The error message.
    • AuthorOperationException

      public AuthorOperationException(String message, Throwable cause)
      Constructor.
      Parameters:
      message - The error message.
      cause - The cause of the exception.
  • Method Details

    • 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.