Package org.openhab.core.voice.text
Class InterpretationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.voice.text.InterpretationException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
UnrecoverableInterpretationException
An exception used by
HumanLanguageInterpreters, if an error occurs.- Author:
- Tilman Kamp - Initial contribution
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new interpretation exception.InterpretationException(String msg, @Nullable Throwable cause) Constructs a new interpretation exception with a cause.InterpretationException(Throwable cause) Constructs a new interpretation exception with a cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InterpretationException
Constructs a new interpretation exception.- Parameters:
msg- the textual response. Should be short, localized and understandable by non-technical users.
-
InterpretationException
Constructs a new interpretation exception with a cause.- Parameters:
msg- the textual response.cause- the cause of this exception.
-
InterpretationException
Constructs a new interpretation exception with a cause.- Parameters:
cause- the cause of this exception.
-