Class ProjectNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.espirit.firstspirit.modules.multisite.exception.ProjectNotFoundException
- All Implemented Interfaces:
Serializable
Exception thrown when a specified project cannot be found.
This runtime exception is used to indicate that an operation could not be completed because the project with the specified ID or UUID does not exist.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProjectNotFoundException
(long id) Constructs a newProjectNotFoundException
with a detailed message for the specified project ID.ProjectNotFoundException
(@NotNull UUID id) Constructs a newProjectNotFoundException
with a detailed message for the specified project UUID.ProjectNotFoundException
(@NotNull UUID id, @NotNull String projectName) Constructs a newProjectNotFoundException
with a detailed message for the specified project UUID and name. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProjectNotFoundException
public ProjectNotFoundException(long id) Constructs a newProjectNotFoundException
with a detailed message for the specified project ID.- Parameters:
id
- the ID of the project that was not found.
-
ProjectNotFoundException
Constructs a newProjectNotFoundException
with a detailed message for the specified project UUID.- Parameters:
id
- the UUID of the project that was not found.
-
ProjectNotFoundException
Constructs a newProjectNotFoundException
with a detailed message for the specified project UUID and name.- Parameters:
id
- the UUID of the project that was not found.projectName
- the name of the project that was not found.
-