Class NatsyNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class NatsyNotFoundException
    extends NatsyServerException
                        

    The stream, consumer, bucket, object or message named by the call does not exist.

    Only thrown by operations that address something the caller already holds or names as a precondition. Lookups - getStream, getConsumer, getKeyValue, getObjectStore, ObjectStore.info, KeyValueStore.get - return null for an absent item instead, so "not there" is a value the compiler makes you handle rather than an exception to catch.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class eu.vstoyanov.natsy.exception.NatsyServerException

        getApiErrorCode, getErrorCode
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait