Class AmbigousKeyRuntimeException

  • All Implemented Interfaces:
    org.refcodes.mixin.KeyAccessor<java.lang.String>


    public class AmbigousKeyRuntimeException
    extends StructureRuntimeException
    implements org.refcodes.mixin.KeyAccessor<java.lang.String>
    Thrown in case this instance does not contain the requested element (no such key found in the collection).
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor

        org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor

        org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends java.lang.Object>
    • Constructor Summary

      Constructors 
      Constructor Description
      AmbigousKeyRuntimeException​(java.lang.String aKey, java.lang.String message)
      Instantiates a new net runtime exception.
      AmbigousKeyRuntimeException​(java.lang.String aKey, java.lang.String aMessage, java.lang.String aErrorCode)
      Instantiates a new net runtime exception.
      AmbigousKeyRuntimeException​(java.lang.String aKey, java.lang.String message, java.lang.Throwable cause)
      Instantiates a new net runtime exception.
      AmbigousKeyRuntimeException​(java.lang.String aKey, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new net runtime exception.
      AmbigousKeyRuntimeException​(java.lang.String aKey, java.lang.Throwable cause)
      Instantiates a new net runtime exception.
      AmbigousKeyRuntimeException​(java.lang.String aKey, java.lang.Throwable aCause, java.lang.String aErrorCode)
      Instantiates a new net runtime exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getKey​()
      • Methods inherited from class org.refcodes.exception.AbstractRuntimeException

        getErrorCode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
    • Constructor Detail

      • AmbigousKeyRuntimeException

        public AmbigousKeyRuntimeException​(java.lang.String aKey,
                                           java.lang.String aMessage,
                                           java.lang.String aErrorCode)
        Instantiates a new net runtime exception.
        Parameters:
        aKey - The key which has not been found.
        aMessage - the message
        aErrorCode - the error code
      • AmbigousKeyRuntimeException

        public AmbigousKeyRuntimeException​(java.lang.String aKey,
                                           java.lang.String aMessage,
                                           java.lang.Throwable aCause,
                                           java.lang.String aErrorCode)
        Instantiates a new net runtime exception.
        Parameters:
        aKey - The key which has not been found.
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • AmbigousKeyRuntimeException

        public AmbigousKeyRuntimeException​(java.lang.String aKey,
                                           java.lang.String message,
                                           java.lang.Throwable cause)
        Instantiates a new net runtime exception.
        Parameters:
        aKey - The key which has not been found.
        message - the message
        cause - the cause
      • AmbigousKeyRuntimeException

        public AmbigousKeyRuntimeException​(java.lang.String aKey,
                                           java.lang.String message)
        Instantiates a new net runtime exception.
        Parameters:
        aKey - The key which has not been found.
        message - the message
      • AmbigousKeyRuntimeException

        public AmbigousKeyRuntimeException​(java.lang.String aKey,
                                           java.lang.Throwable aCause,
                                           java.lang.String aErrorCode)
        Instantiates a new net runtime exception.
        Parameters:
        aKey - The key which has not been found.
        aCause - the cause
        aErrorCode - the error code
      • AmbigousKeyRuntimeException

        public AmbigousKeyRuntimeException​(java.lang.String aKey,
                                           java.lang.Throwable cause)
        Instantiates a new net runtime exception.
        Parameters:
        aKey - The key which has not been found.
        cause - the cause
    • Method Detail

      • getKey

        public java.lang.String getKey​()
        Specified by:
        getKey in interface org.refcodes.mixin.KeyAccessor<java.lang.String>