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

public class ProjectNotFoundException extends RuntimeException
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 Details

    • ProjectNotFoundException

      public ProjectNotFoundException(long id)
      Constructs a new ProjectNotFoundException with a detailed message for the specified project ID.
      Parameters:
      id - the ID of the project that was not found.
    • ProjectNotFoundException

      public ProjectNotFoundException(@NotNull @NotNull UUID id)
      Constructs a new ProjectNotFoundException with a detailed message for the specified project UUID.
      Parameters:
      id - the UUID of the project that was not found.
    • ProjectNotFoundException

      public ProjectNotFoundException(@NotNull @NotNull UUID id, @NotNull @NotNull String projectName)
      Constructs a new ProjectNotFoundException 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.