|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.topcoder.shared.problem.DataValueParseException
Represents an exception that occurred while parsing a data value.
| Constructor Summary | |
DataValueParseException(java.lang.String message)
Constructs the exception with the given message (line is set to 0 and column is set to 0). |
|
DataValueParseException(java.lang.String message,
int line,
int column)
Constructs the exception with the given message, line and column. |
|
| Method Summary | |
int |
getColumn()
Returns the column the exception occurred on. |
int |
getLine()
Returns the line number the exception occurred on. |
java.lang.String |
getMessage()
Returns the exception message. |
java.lang.String |
toString()
Returns the exception text (message, line and columnn). |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DataValueParseException(java.lang.String message)
message - the exception message.
public DataValueParseException(java.lang.String message,
int line,
int column)
message - the exception message.line - the line the exception occurred on.column - the column the exception occurred on.| Method Detail |
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic int getLine()
public int getColumn()
public java.lang.String toString()
"Line 3: Column 1: ACME portable hole".
Line will not be included if equal to zero. Column will not be included if equal to zero.
toString in class java.lang.Throwable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||