|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.japaki.text.FormatException
public class FormatException
Indicates an exception while formatting an object with a parser. It stores the path to the field where the parsing exception occurred.
| Constructor Summary | |
|---|---|
FormatException(Collection<Parser> path)
Constructs a format exception with the specified details. |
|
FormatException(String s,
Collection<Parser> path)
Constructs a format exception with the specified details. |
|
FormatException(String message,
Throwable cause,
Collection<Parser> path)
Constructs a format exception with the specified details. |
|
FormatException(Throwable cause,
Collection<Parser> path)
Constructs a format exception with the specified details. |
|
| Method Summary | |
|---|---|
Collection<Parser> |
getPath()
Returns the path to the field where the format exception occurred. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FormatException(Collection<Parser> path)
path - path to the field where the exception is found
public FormatException(String s,
Collection<Parser> path)
s - the detail message,
see Throwable for details.path - path to the field where the exception is found
public FormatException(Throwable cause,
Collection<Parser> path)
cause - cause,
see Throwable for details.path - path to the field where the exception is found
public FormatException(String message,
Throwable cause,
Collection<Parser> path)
message - the detail messagecause - cause,
see Throwable
for details.path - path to the field where the exception is found| Method Detail |
|---|
public Collection<Parser> getPath()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||