Class ForbiddenOperationException

All Implemented Interfaces:
Serializable

public class ForbiddenOperationException extends OperationException
Signals there was an error while attempting to carry out an operation. This is different from any InputValidationException in the sense that the operation is thought to be "generally allowed" under most normal circumstances, but some form of verification was required to prevent potential unrecoverable errors in the code.
See Also:
  • Constructor Details

    • ForbiddenOperationException

      public ForbiddenOperationException(String operationName, String additionalInfo)
      Creates an exception reporting a specific error and an identifier for the failed operation
      Parameters:
      operationName - the name of the operation in question
      additionalInfo - a short description of the error