Class UnknownMacroException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.spellengine.exception.SpellerException
com.aquima.interactions.spellengine.exception.UnknownMacroException
- All Implemented Interfaces:
Serializable
This exception is used to indicate that a macro does not exist.
- Since:
- 6.0
- Author:
- Jon van Leuven
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownMacroException
(String spellerName, char macroName) Create an unknown macro exception. -
Method Summary
Modifier and TypeMethodDescriptionchar
This method returns the name of the macro that could not be found.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownMacroException
Create an unknown macro exception.- Parameters:
spellerName
- The name of the speller that has no macro for the specified name.macroName
- The macro rule that could not be found.
-
-
Method Details
-
getMacroName
public char getMacroName()This method returns the name of the macro that could not be found.- Returns:
- Name of the unknown speller.
-