public class ModelException
extends java.lang.RuntimeException
Constructor and Description |
---|
ModelException(java.lang.String message)
Default constructor.
|
ModelException(java.lang.String message,
java.lang.Class<? extends omero.model.IObject> klass,
java.lang.Exception exception)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends omero.model.IObject> |
getFailureClass()
Returns the class that was used during a failed instantiation.
|
java.lang.String |
toString() |
public ModelException(java.lang.String message)
message
- Error message.public ModelException(java.lang.String message, java.lang.Class<? extends omero.model.IObject> klass, java.lang.Exception exception)
message
- Error message.klass
- Failed instantiation class.exception
- Upstream exception.
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.