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.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
NoSuchDataException(String str)
          Create the exception.
 
Method Summary
 String toString()
          Get the error message.
 
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
 

Field Detail

msg

private String msg
The error message.

Constructor Detail

NoSuchDataException

public NoSuchDataException(String str)
Create the exception.

Parameters:
str - The specific error that occurred.
Method Detail

toString

public String toString()
Get the error message.

Overrides:
toString in class Throwable
Returns:
A String which is the error message.