Class CollectionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.cloudimpl.error.core.CloudImplException
com.cloudimpl.outstack.collection.error.CollectionException
All Implemented Interfaces:
java.io.Serializable

public class CollectionException
extends com.cloudimpl.error.core.CloudImplException
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class com.cloudimpl.error.core.CloudImplException

    FILL_TAGS, STACK_FILL
  • Method Summary

    Modifier and Type Method Description
    static CollectionException INVALID_OWNER​(java.util.function.Consumer<INVALID_OWNER> consumer)
    errorNo : 1002 format : "event [event] apply failed for entity [entity], invalid owner [owner]" tags : "[event, entity, owner]"
    static CollectionException RELECTION_EXCEPTION​(java.util.function.Consumer<RELECTION_EXCEPTION> consumer)
    errorNo : 1000 format : "reflection error" tags : "[]"
    static CollectionException ROOT_DOESNT_EXIST​(java.util.function.Consumer<ROOT_DOESNT_EXIST> consumer)
    errorNo : 1001 format : "[entity]:[id] doesn't exist" tags : "[entity, id]"

    Methods inherited from class com.cloudimpl.error.core.CloudImplException

    fillInStackTrace, getErrorCode, getTag, getTags, throwException

    Methods inherited from class java.lang.Throwable

    addSuppressed, 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
  • Method Details

    • RELECTION_EXCEPTION

      public static CollectionException RELECTION_EXCEPTION​(java.util.function.Consumer<RELECTION_EXCEPTION> consumer)
      errorNo : 1000 format : "reflection error" tags : "[]"
      Parameters:
      consumer -
      Returns:
    • ROOT_DOESNT_EXIST

      public static CollectionException ROOT_DOESNT_EXIST​(java.util.function.Consumer<ROOT_DOESNT_EXIST> consumer)
      errorNo : 1001 format : "[entity]:[id] doesn't exist" tags : "[entity, id]"
      Parameters:
      consumer -
      Returns:
    • INVALID_OWNER

      public static CollectionException INVALID_OWNER​(java.util.function.Consumer<INVALID_OWNER> consumer)
      errorNo : 1002 format : "event [event] apply failed for entity [entity], invalid owner [owner]" tags : "[event, entity, owner]"
      Parameters:
      consumer -
      Returns: