game.protocol
Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
game.protocol.ParseException
- All Implemented Interfaces:
- java.io.Serializable
public class ParseException
- extends java.lang.Exception
Error in parsing message.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ParseException
public ParseException()
ParseException
public ParseException(java.lang.String msg)
- Parameters:
msg
-
ParseException
public ParseException(java.lang.String msg,
java.lang.Throwable cause)
- Parameters:
msg
- cause
-
ParseException
public ParseException(java.lang.Throwable cause)
- Parameters:
cause
-
ParseException
public ParseException(java.lang.String txt,
int off)
- Parameters:
txt
- text being parsedoff
- offset, in text, of error
ParseException
public ParseException(java.lang.String msg,
java.lang.String txt,
int off)
- Parameters:
msg
- detail descriptiontxt
- text being parsedoff
- offset, in text, of error
ParseException
public ParseException(java.lang.String msg,
java.lang.String txt,
int off,
java.lang.Throwable cause)
- Parameters:
msg
- detail descriptiontxt
- text being parsedoff
- offset, in text, of errorcause
- another exception that caused this one.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Throwable
getText
public java.lang.String getText()
getOffset
public int getOffset()