org.oreodata
Class ImmutableDataException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.oreodata.ImmutableDataException
All Implemented Interfaces:
java.io.Serializable

public class ImmutableDataException
extends java.lang.RuntimeException

thrown when an attempt is made to modify data in an immutable data record. This can really only occur as a result of programmer error.

Author:
Jonathan Revusky
See Also:
Record.getMutableCopy(), Serialized Form

Constructor Summary
ImmutableDataException()
          default constructor
ImmutableDataException(Record rec)
           
ImmutableDataException(java.lang.String s)
          constructor
 
Method Summary
 Record getRecord()
           
 
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

ImmutableDataException

public ImmutableDataException(Record rec)

ImmutableDataException

public ImmutableDataException(java.lang.String s)
constructor

Parameters:
s - exception message string

ImmutableDataException

public ImmutableDataException()
default constructor

Method Detail

getRecord

public Record getRecord()