Package vaultWeb.exceptions
Class PollOptionNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
vaultWeb.exceptions.PollOptionNotFoundException
- All Implemented Interfaces:
Serializable
Thrown when a user tries to perform poll activities for a optionId that doesn't exist in the
respective poll.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPollOptionNotFoundException(String message) Constructs a new PollOptionNotFoundException with a custom message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PollOptionNotFoundException
Constructs a new PollOptionNotFoundException with a custom message.- Parameters:
message- the detail message explaining the exception
-