org.moyoman.util
Class NoSuchDataException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--org.moyoman.util.NoSuchDataException
- All Implemented Interfaces:
- Serializable
- public class NoSuchDataException
- extends IllegalArgumentException
This exception is thrown when a query for data fails.
- See Also:
- Serialized Form
Field Summary |
private String |
msg
The error message. |
Fields inherited from class java.lang.Throwable |
|
msg
private String msg
- The error message.
NoSuchDataException
public NoSuchDataException(String str)
- Create the exception.
- Parameters:
str
- The specific error that occurred.
toString
public String toString()
- Get the error message.
- Overrides:
toString
in class Throwable
- Returns:
- A String which is the error message.