Class FailedOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
it.polimi.ingsw.Exceptions.Operation.OperationException
it.polimi.ingsw.Exceptions.Operation.FailedOperationException
- All Implemented Interfaces:
Serializable
Signals there was an error while executing of an operation.
- See Also:
-
Constructor Summary
ConstructorDescriptionFailedOperationException
(String operationName, String additionalInfo) Creates an exception reporting a specific error and an identifier for the failed operation -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FailedOperationException
Creates an exception reporting a specific error and an identifier for the failed operation- Parameters:
operationName
- the name of the operation in questionadditionalInfo
- a short description of the error
-