jdsl.extension.LEDA
Class FormatException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--jdsl.extension.LEDA.FormatException
- Direct Known Subclasses:
- DataFormatException, FileFormatException
- public class FormatException
- extends java.lang.RuntimeException
This exception class is used to indicate error during parsing.
It is mainly called from GraphWinFile (read method).
It is quite simple and overrides only toString.
- See Also:
- Serialized Form
|
Constructor Summary |
FormatException(java.lang.String name)
Construct a standard exception. |
FormatException(java.lang.String name,
java.lang.String arg)
Construct a exception with description. |
|
Method Summary |
java.lang.String |
toString()
Returns a error message as String. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
FormatException
public FormatException(java.lang.String name)
- Construct a standard exception.
FormatException
public FormatException(java.lang.String name,
java.lang.String arg)
- Construct a exception with description.
- Parameters:
arg - a String containing a
description (for details).
toString
public java.lang.String toString()
- Returns a error message as String.
- Overrides:
- toString in class java.lang.Throwable