Last update: 2011-06-23

org.proteios.core
Class DetachedItemException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.proteios.core.BaseException
                  extended by org.proteios.core.DetachedItemException
All Implemented Interfaces:
Serializable

public class DetachedItemException
extends BaseException

This exception is thrown when trying to use an item that has been detached from the DbControl that manages it.

Version:
2.0
Author:
Nicklas
See Also:
Serialized Form

Constructor Summary
DetachedItemException(String what)
          Creates a new DetachedItemException.
 
Method Summary
 
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

DetachedItemException

public DetachedItemException(String what)
Creates a new DetachedItemException. The error message produced will look like: Item is detached: User[ID=1]

Parameters:
what - A description of what has been detached, for example User[ID=1]

Last update: 2011-06-23