|
XML for Java 2.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the interface used to report errors.
All errors are reported using an error code and some optional string
index parameters. See the ErrorCode
class for details on
the set of errors defined.
XMLParser
,
ErrorCode
Method Summary | |
void |
error(int errorCode)
Report an error. |
void |
error1(int errorCode,
int stringIndex1)
Report an error with one parameter string. |
void |
error2(int errorCode,
int stringIndex1,
int stringIndex2)
Report an error with two parameter strings. |
void |
error3(int errorCode,
int stringIndex1,
int stringIndex2,
int stringIndex3)
Report an error with three parameter strings. |
void |
error4(int errorCode,
int stringIndex1,
int stringIndex2,
int stringIndex3,
int stringIndex4)
Report an error with four parameter strings. |
Method Detail |
public void error(int errorCode) throws java.lang.Exception
errorCode
- Which error occurred.public void error1(int errorCode, int stringIndex1) throws java.lang.Exception
errorCode
- Which error occurred.stringIndex1
- Additional information about the specific instance of this error.public void error2(int errorCode, int stringIndex1, int stringIndex2) throws java.lang.Exception
errorCode
- Which error occurred.stringIndex1
- Additional information about the specific instance of this error.stringIndex2
- Additional information about the specific instance of this error.public void error3(int errorCode, int stringIndex1, int stringIndex2, int stringIndex3) throws java.lang.Exception
errorCode
- Which error occurred.stringIndex1
- Additional information about the specific instance of this error.stringIndex2
- Additional information about the specific instance of this error.stringIndex3
- Additional information about the specific instance of this error.public void error4(int errorCode, int stringIndex1, int stringIndex2, int stringIndex3, int stringIndex4) throws java.lang.Exception
errorCode
- Which error occurred.stringIndex1
- Additional information about the specific instance of this error.stringIndex2
- Additional information about the specific instance of this error.stringIndex3
- Additional information about the specific instance of this error.stringIndex4
- Additional information about the specific instance of this error.
|
XML for Java 2.0.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |