Package javax.help

Class BadIDException

  • All Implemented Interfaces:
    java.io.Serializable

    public class BadIDException
    extends java.lang.IllegalArgumentException
    An ID was attempted to be created with incorrect arguments
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BadIDException​(java.lang.String msg, Map map, java.lang.String id, HelpSet hs)
      Create the exception.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      HelpSet getHelpSet()
      The HelpSet that wasn't found in the Map
      java.lang.String getID()
      The ID that wasn't found in the Map
      Map getMap()
      The HelpSet in which the ID wasn't found
      • 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

      • BadIDException

        public BadIDException​(java.lang.String msg,
                              Map map,
                              java.lang.String id,
                              HelpSet hs)
        Create the exception. Null values are allowed for each parameter.
        Parameters:
        map - The Map in which the ID wasn't found
        msg - A generic message
        id - The ID in Map that wasn't found
        See Also:
        Map
    • Method Detail

      • getMap

        public Map getMap()
        The HelpSet in which the ID wasn't found
      • getID

        public java.lang.String getID()
        The ID that wasn't found in the Map
      • getHelpSet

        public HelpSet getHelpSet()
        The HelpSet that wasn't found in the Map