Package edu.hm.hafner.analysis
Class ParsingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- edu.hm.hafner.analysis.ParsingException
-
- All Implemented Interfaces:
Serializable
public class ParsingException extends RuntimeException
Indicates that during parsing a non recoverable error has been occurred.- Author:
- Ullrich Hafner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ParsingException(String messageFormat, Object... args)Constructs a newParsingExceptionwith the specified message.ParsingException(Throwable cause)Constructs a newParsingExceptionwith the specified cause.ParsingException(Throwable cause, String messageFormat, Object... args)Constructs a newParsingExceptionwith the specified cause and message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ParsingException
public ParsingException(Throwable cause)
Constructs a newParsingExceptionwith the specified cause.- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method).
-
ParsingException
@FormatMethod public ParsingException(Throwable cause, String messageFormat, Object... args)
Constructs a newParsingExceptionwith the specified cause and message.- Parameters:
cause- the cause (which is saved for later retrieval by theThrowable.getCause()method).messageFormat- the message as a format string as described in Format string syntaxargs- Arguments referenced by the format specifiers in the format string. If there are more arguments than format specifiers, the extra arguments are ignored. The number of arguments is variable and may be zero. The maximum number of arguments is limited by the maximum dimension of a Java array as defined by The Java™ Virtual Machine Specification. The behaviour on anullargument depends on the conversion.
-
ParsingException
@FormatMethod public ParsingException(String messageFormat, Object... args)
Constructs a newParsingExceptionwith the specified message.- Parameters:
messageFormat- the message as a format string as described in Format string syntaxargs- Arguments referenced by the format specifiers in the format string. If there are more arguments than format specifiers, the extra arguments are ignored. The number of arguments is variable and may be zero. The maximum number of arguments is limited by the maximum dimension of a Java array as defined by The Java™ Virtual Machine Specification. The behaviour on anullargument depends on the conversion.
-
-