|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ome.formats.model.ModelException
public class ModelException
Exception thrown when there is an object instantiation error or error processing the model.
Constructor Summary | |
---|---|
ModelException(String message)
Default constructor. |
|
ModelException(String message,
Class<? extends omero.model.IObject> klass,
Exception exception)
Default constructor. |
Method Summary | |
---|---|
Class<? extends omero.model.IObject> |
getFailureClass()
Returns the class that was used during a failed instantiation. |
String |
toString()
|
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 |
Constructor Detail |
---|
public ModelException(String message)
message
- Error message.public ModelException(String message, Class<? extends omero.model.IObject> klass, Exception exception)
message
- Error message.klass
- Failed instantiation class.exception
- Upstream exception.Method Detail |
---|
public Class<? extends omero.model.IObject> getFailureClass()
public String toString()
toString
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.