public class ParseException extends Exception
Modifier and Type | Field and Description |
---|---|
private String |
fileName
Name of the configuration file.
|
private static long |
serialVersionUID |
Constructor and Description |
---|
ParseException()
Constructs a new
InvalidConfigurationException with no
detail message. |
ParseException(String s)
Constructs a new
InvalidConfigurationException with the
specified detail message. |
ParseException(String s,
Throwable cause)
Constructs a new
InvalidConfigurationException with the
specified detail message and cause. |
ParseException(Throwable cause)
Constructs a new
InvalidConfigurationException with the
specified cause. |
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
Returns the detail message string of this throwable.
|
void |
setFileName(String fileName)
Sets the fileName field of the exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
private static final long serialVersionUID
private String fileName
public ParseException()
InvalidConfigurationException
with no
detail message.public ParseException(String s)
InvalidConfigurationException
with the
specified detail message.s
- the detail message.public ParseException(String s, Throwable cause)
InvalidConfigurationException
with the
specified detail message and cause.s
- the detail message.cause
- the cause of the exceptionpublic ParseException(Throwable cause)
InvalidConfigurationException
with the
specified cause.cause
- the cause of the exceptionpublic void setFileName(String fileName)
fileName
- name of the file holding the configuration definitionpublic String getMessage()
getMessage
in class Throwable
Copyright © 2022 ScalAgent D.T.. All rights reserved.