Class AtpEntityNotFoundException

All Implemented Interfaces:
Serializable

@ResponseStatus(value=NOT_FOUND, reason="ATP-0001") public class AtpEntityNotFoundException extends AtpException
See Also:
  • Field Details

    • DEFAULT_MESSAGE

      public static final String DEFAULT_MESSAGE
      Default parametrized message with EntityName parameter.
      See Also:
    • DEFAULT_ID_MESSAGE

      public static final String DEFAULT_ID_MESSAGE
      Default parametrized message with EntityName and Reference field value parameters.
      See Also:
    • DEFAULT_REF_ID_MESSAGE

      public static final String DEFAULT_REF_ID_MESSAGE
      Default parametrized message with EntityName, Reference field name and Reference field value parameters.
      See Also:
  • Constructor Details

    • AtpEntityNotFoundException

      public AtpEntityNotFoundException(String entity)
      Example: Failed to find Environment Info entity.
      Parameters:
      entity - Entity name.
    • AtpEntityNotFoundException

      public AtpEntityNotFoundException(String entity, Object id)
      Example: Failed to find Environment Info entity by id: 123.
      Parameters:
      entity - Entity name
      id - Reference field value.
    • AtpEntityNotFoundException

      public AtpEntityNotFoundException(String entity, String refField, Object refFieldValue)
      Example: Failed to find Environment Info entity by execution request id: 322.
      Parameters:
      entity - Entity name
      refField - Reference field name
      refFieldValue - Reference field value.