Class EntityNotFoundException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.extensions.surf.exception.PlatformRuntimeException
All Implemented Interfaces:
Serializable

public class EntityNotFoundException extends NotFoundException
The addressed entity was not found
Author:
Gethin James
See Also:
  • Field Details

    • DEFAULT_MESSAGE_ID

      public static String DEFAULT_MESSAGE_ID
  • Constructor Details

    • EntityNotFoundException

      public EntityNotFoundException(String entityId)
      The entity id param will be shown in the default error message.
      Parameters:
      entityId - String
    • EntityNotFoundException

      public EntityNotFoundException(String msgId, String[] parameters)
      The entity id param will be shown in the default error message.
      Parameters:
      msgId - The message template.
      parameters - The message template parameters.
    • EntityNotFoundException

      public EntityNotFoundException(String msgId, Throwable cause)