Class DuplicateContentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.composer.ComposerException
com.aquima.interactions.composer.exception.DuplicateContentException
- All Implemented Interfaces:
Serializable
This exception is used to indicate duplicate definitions were found.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDuplicateContentException
(ElementType type, String name) Constructs the exception with the type and name of the element that was already present. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateContentException
Constructs the exception with the type and name of the element that was already present.- Parameters:
type
- The type of the duplicate element.name
- The name of the duplicate element.
-
-
Method Details
-
getType
This method returns the type of the duplicate element.- Returns:
- the type of the duplicate element.
-
getName
This method returns the name of the duplicate element.- Returns:
- The name of the duplicate element.
-