LookupNotFoundException

public class LookupNotFoundException extends MdsException

The LookupNotFoundException exception signals a situation in which a lookup with given id does not exist in database.

Constructors

LookupNotFoundException

public LookupNotFoundException(String entityName, String lookupName)

Constructs a new LookupNotFoundException with mds.error.lookupNotFound as a message key.

Parameters:
  • entityName – the name of the entity
  • lookupName – the name of the lookup

LookupNotFoundException

public LookupNotFoundException(Long entityId, String lookupName)

Constructs a new LookupNotFoundException with mds.error.lookupNotFound as a message key.

Parameters:
  • entityId – the id of the entity
  • lookupName – the name of the lookup