Class UnknownEntityMappingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aquima.interactions.foundation.exception.AppException
-
- com.aquima.interactions.mapping.MappingException
-
- com.aquima.interactions.mapping.exception.UnknownEntityMappingException
-
- All Implemented Interfaces:
Serializable
public class UnknownEntityMappingException extends MappingException
This type of exception is used when an invalid entity mapping is encountered.- Since:
- 7.1
- Author:
- Jon van Leuven
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownEntityMappingException(String entityName)
Constructs the exception with the invalid entity name.UnknownEntityMappingException(String entityName, String message)
Constructs the exception with the invalid entity name and a message containing more information about the cause or place of the error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEntityName()
This method returns the name of the entity that was invalid.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UnknownEntityMappingException
public UnknownEntityMappingException(String entityName)
Constructs the exception with the invalid entity name.- Parameters:
entityName
- The name of the entity that is invalid
-
UnknownEntityMappingException
public UnknownEntityMappingException(String entityName, String message)
Constructs the exception with the invalid entity name and a message containing more information about the cause or place of the error.- Parameters:
entityName
- The name of the entity that is invalidmessage
- Message containing additional information about the error.
-
-
Method Detail
-
getEntityName
public String getEntityName()
This method returns the name of the entity that was invalid.- Returns:
- the name of the entity that was invalid.
-
-