org.nakedobjects.object
Class NakedError

java.lang.Object
  extended byjava.util.Observable
      extended byorg.nakedobjects.object.AbstractNakedObject
          extended byorg.nakedobjects.object.NakedError
All Implemented Interfaces:
java.io.Externalizable, Naked, NakedObject, java.io.Serializable

public class NakedError
extends AbstractNakedObject

See Also:
Serialized Form

Constructor Summary
NakedError(java.lang.String msg)
           
NakedError(java.lang.String msg, java.lang.Throwable e)
           
 
Method Summary
 About about()
          Return a standard READ/WRITE About, specifically: AttributeController.READ_WRITE
 TextString getError()
           
 TextString getException()
           
 MultilineTextString getTrace()
           
 void makePersistent()
           
 Title title()
          every Naked Object is required to provide a Title by which it is identified to the end user.
 
Methods inherited from class org.nakedobjects.object.AbstractNakedObject
aboutExplorationActionClass, aboutExplorationActionClone, aboutExplorationActionMakePersistent, canClone, contextualTitle, copyObject, created, createInstance, createInstance, createTransientInstance, deleted, destroy, equals, explorationActionClass, explorationActionClone, explorationActionMakePersistent, getClassHelpText, getClassName, getCollectiveName, getFullClassName, getIconName, getIdString, getNakedClass, getObjectHelpText, getObjectStore, getOid, hashCode, iconImage, init, isEmpty, isFinder, isLookupElement, isPersistent, isResolved, isSameAs, isValid, makeFinder, objectChanged, readExternal, resolve, resolve, setChangedAndNotifyObservers, setOid, setResolved, summary, toString, writeExternal
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.nakedobjects.object.NakedObject
addObserver, countObservers, deleteObserver, hasChanged
 

Constructor Detail

NakedError

public NakedError(java.lang.String msg)

NakedError

public NakedError(java.lang.String msg,
                  java.lang.Throwable e)
Method Detail

getError

public TextString getError()

getException

public TextString getException()

getTrace

public MultilineTextString getTrace()

about

public About about()
Description copied from class: AbstractNakedObject
Return a standard READ/WRITE About, specifically: AttributeController.READ_WRITE

Specified by:
about in interface Naked
Overrides:
about in class AbstractNakedObject

makePersistent

public void makePersistent()
                    throws ObjectStoreException
Specified by:
makePersistent in interface NakedObject
Overrides:
makePersistent in class AbstractNakedObject
Throws:
ObjectStoreException

title

public Title title()
Description copied from class: AbstractNakedObject
every Naked Object is required to provide a Title by which it is identified to the end user.

Unless overridden, the String representation of this Title object is available through contextualTitle().

Specified by:
title in interface Naked
Overrides:
title in class AbstractNakedObject
See Also:
AbstractNakedObject.contextualTitle()