Package com.activeviam.fwk
Class ActiveViamParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.activeviam.fwk.ActiveViamRuntimeException
-
- com.activeviam.fwk.ActiveViamParsingException
-
- All Implemented Interfaces:
Serializable
public class ActiveViamParsingException extends ActiveViamRuntimeException
A subclass ofActiveViamRuntimeExceptionthat can register arbitrary values in order to use them in a subsequent catch block. Used mostly in sources to have enable detailed reporting of errors.- Author:
- ActiveViam
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActiveViamParsingException.ParsingExceptionTypeAn enumeration of all the possible types of annotations.
-
Constructor Summary
Constructors Constructor Description ActiveViamParsingException(String message, ActiveViamParsingException.ParsingExceptionType type, Object... annotations)Constructor.ActiveViamParsingException(String message, Throwable cause, ActiveViamParsingException.ParsingExceptionType type, Object... annotations)Constructor.ActiveViamParsingException(Throwable cause, ActiveViamParsingException.ParsingExceptionType type, Object... annotations)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getAnnotations()Returns the annotations set in the constructor.ActiveViamParsingException.ParsingExceptionTypegetType()Returns the type set with in the constructor.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ActiveViamParsingException
public ActiveViamParsingException(String message, Throwable cause, ActiveViamParsingException.ParsingExceptionType type, Object... annotations)
Constructor.
-
ActiveViamParsingException
public ActiveViamParsingException(String message, ActiveViamParsingException.ParsingExceptionType type, Object... annotations)
Constructor.
-
ActiveViamParsingException
public ActiveViamParsingException(Throwable cause, ActiveViamParsingException.ParsingExceptionType type, Object... annotations)
Constructor.
-
-
Method Detail
-
getType
public ActiveViamParsingException.ParsingExceptionType getType()
Returns the type set with in the constructor.
-
getAnnotations
public Object[] getAnnotations()
Returns the annotations set in the constructor.
-
-