|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SettingsProblem
Describes a problem that was encountered during settings building. A problem can either be an exception that was thrown or a simple string message. In addition, a problem carries a hint about its source, e.g. the settings file that exhibits the problem.
Nested Class Summary | |
---|---|
static class |
SettingsProblem.Severity
The different severity levels for a problem, in decreasing order. |
Method Summary | |
---|---|
int |
getColumnNumber()
Gets the one-based index of the column containing the problem. |
Exception |
getException()
Gets the exception that caused this problem (if any). |
int |
getLineNumber()
Gets the one-based index of the line containing the problem. |
String |
getLocation()
Gets the location of the problem. |
String |
getMessage()
Gets the message that describes this problem. |
SettingsProblem.Severity |
getSeverity()
Gets the severity level of this problem. |
String |
getSource()
Gets the hint about the source of the problem. |
Method Detail |
---|
String getSource()
null
.int getLineNumber()
getSource()
.
int getColumnNumber()
getSource()
.
String getLocation()
getSource()
, getLineNumber()
and getColumnNumber()
. The exact syntax of the returned
value is undefined.
null
.Exception getException()
null
if not applicable.String getMessage()
null
.SettingsProblem.Severity getSeverity()
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |