Class 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 includes IllegalArgumentException-like and often IllegalStateException-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)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • ApiUsageException

        public ApiUsageException​(java.lang.String msg)