org.oreodata
Class InvalidDataException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--org.oreodata.DataException
                          |
                          +--org.oreodata.InvalidDataException
All Implemented Interfaces:
java.io.Serializable

public class InvalidDataException
extends DataException

thrown when there is an attempt to set data in some invalid way.

Author:
Jonathan Revusky
See Also:
Serialized Form

Constructor Summary
InvalidDataException(Record record, java.lang.String s)
          Create a new InvalidDataException
InvalidDataException(java.lang.String s)
          Create a new InvalidDataException with no record specified.
 
Methods inherited from class org.oreodata.DataException
getLocale, getLocalizedMessage, getNestedException, getRecord, setLocale, setRecord
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

InvalidDataException

public InvalidDataException(java.lang.String s)
Create a new InvalidDataException with no record specified.

Parameters:
s - detail message

InvalidDataException

public InvalidDataException(Record record,
                            java.lang.String s)
Create a new InvalidDataException

Parameters:
record - the record this pertains to. (This can be null)
s - the message