Package ome.conditions
Class ApiUsageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- ome.conditions.RootException
-
- ome.conditions.ApiUsageException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
OptimisticLockException
,OverUsageException
,ValidationException
public class ApiUsageException extends RootException
Alerts a user to a misuse of an Omero method call. This includesIllegalArgumentException
-like and oftenIllegalStateException
-like matters. The Api which is broken may be declaratively checked with annotations and an interceptor or at run-time with simple assertions.- Since:
- 3.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ApiUsageException(java.lang.String msg)
-