Class ParsingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.automation.parser.ParsingException
- All Implemented Interfaces:
Serializable
This class extends the
Exception
class functionality with functionality serving to accumulate the all
exceptions during the parsing process.- Author:
- Ana Dimova - Initial contribution
- See Also:
-
Constructor Summary
ConstructorDescriptionParsingException
(List<ParsingNestedException> exceptions) Creates a holder for several exceptions during the parsing process.Creates the holder for one exception during the parsing process. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParsingException
Creates the holder for one exception during the parsing process.- Parameters:
e
- is an exception during the parsing process.
-
ParsingException
Creates a holder for several exceptions during the parsing process.- Parameters:
exceptions
- is a list with exceptions during the parsing process.
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
getStackTrace
- Overrides:
getStackTrace
in classThrowable
-