Class WorkerNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
it.univr.passportease.exception.notfound.WorkerNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a worker is not found.
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor, it sets the message to "Worker not found.".WorkerNotFoundException
(String message) Constructor for theWorkerNotFoundException
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WorkerNotFoundException
public WorkerNotFoundException()Default constructor, it sets the message to "Worker not found.". -
WorkerNotFoundException
Constructor for theWorkerNotFoundException
- Parameters:
message
- The message of the exception.
-