public class ConfigurationException extends Exception implements ILocalizableMessage
Constructor and Description |
---|
ConfigurationException(String msg) |
ConfigurationException(String var,
String source,
int line) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Returns the column number of the file that contains the error.
|
Exception |
getExceptionDetail() |
String |
getLevel()
Returns the compiler message severity level.
|
int |
getLine()
Returns the line number of the file that contains the error.
|
String |
getMessage() |
String |
getPath()
Returns the location of the file that contains the error.
|
boolean |
isPathAvailable() |
void |
setColumn(int column) |
void |
setLine(int line) |
void |
setPath(String path) |
String |
toString()
Returns the message.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ConfigurationException(String msg)
public String getLevel()
Message
getLevel
in interface Message
Message.ERROR
, Message.WARNING
, or Message.INFO
.Message.ERROR
,
Message.WARNING
,
Message.INFO
public String getPath()
Message
public void setPath(String path)
setPath
in interface ILocalizableMessage
public int getLine()
Message
public void setLine(int line)
setLine
in interface ILocalizableMessage
public int getColumn()
Message
public void setColumn(int column)
setColumn
in interface ILocalizableMessage
public Exception getExceptionDetail()
getExceptionDetail
in interface ILocalizableMessage
public boolean isPathAvailable()
isPathAvailable
in interface ILocalizableMessage
public String getMessage()
getMessage
in class Throwable
Copyright © 2016 The Apache Software Foundation. All rights reserved.