Class ParsingNestedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.automation.parser.ParsingNestedException
- All Implemented Interfaces:
- Serializable
This class extends the 
Exception class functionality with keeping additional information about reasons for
 exception during the parsing process.- Author:
- Ana Dimova - Initial contribution
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final int
- 
Constructor SummaryConstructorsConstructorDescriptionParsingNestedException(int type, @Nullable String id, @Nullable Throwable t) Creates an exception based on exception thrown during the parsing plus information about the type of the automation object and its UID.ParsingNestedException(int type, @Nullable String id, String msg, @Nullable Throwable t) Creates an exception based on exception thrown the parsing plus information about the type of the automation object, its UID and additional message with additional information about the parsing process.
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Field Details- 
MODULE_TYPEpublic static final int MODULE_TYPE- See Also:
 
- 
TEMPLATEpublic static final int TEMPLATE- See Also:
 
- 
RULEpublic static final int RULE- See Also:
 
 
- 
- 
Constructor Details- 
ParsingNestedExceptionCreates an exception based on exception thrown the parsing plus information about the type of the automation object, its UID and additional message with additional information about the parsing process.- Parameters:
- type- is the type of the automation object for parsing.
- id- is the UID of the automation object for parsing.
- msg- is the additional message with additional information about the parsing process.
- t- is the exception thrown during the parsing.
 
- 
ParsingNestedExceptionCreates an exception based on exception thrown during the parsing plus information about the type of the automation object and its UID.- Parameters:
- type- is the type of the automation object for parsing.
- id- is the UID of the automation object for parsing.
- t- is the exception thrown during the parsing.
 
 
- 
- 
Method Details- 
getMessage- Overrides:
- getMessagein class- Throwable
 
 
-