Class NoSuchEntityException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.gravitino.exceptions.NoSuchEntityException
All Implemented Interfaces:
Serializable

public class NoSuchEntityException extends RuntimeException
This exception is thrown when an entity is not found.
See Also:
  • Field Details

    • NO_SUCH_ENTITY_MESSAGE

      public static final String NO_SUCH_ENTITY_MESSAGE
      The no such entity message for the exception.
      See Also:
  • Constructor Details

    • NoSuchEntityException

      @FormatMethod public NoSuchEntityException(@FormatString String message, Object... args)
      Constructs a new NoSuchEntityException.
      Parameters:
      message - The detail message.
      args - The argument of the formatted message.
    • NoSuchEntityException

      @FormatMethod public NoSuchEntityException(Throwable cause, @FormatString String message, Object... args)
      Constructs a new NoSuchEntityException.
      Parameters:
      message - The detail message.
      cause - The cause of the exception.
      args - The argument of the formatted message.