Class NoSuchMappingException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchMappingException
    extends java.lang.RuntimeException
    Thrown to indicate that an attempt was made to retrieve a non-existing mapping in a map.
    Since:
    1.0
    Version:
    1.0 2002/30/12
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchMappingException​(java.lang.String s)
      Creates a new exception with a specified detail message.
    • 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

      • NoSuchMappingException

        public NoSuchMappingException​(java.lang.String s)
        Creates a new exception with a specified detail message. The message indicates the key of the mapping that was not available.
        Parameters:
        s - the detail message.
        Throws:
        java.lang.NullPointerException - if s is null.