javax.help

Class BadIDException


public class BadIDException
extends IllegalArgumentException

An ID was attempted to be created with incorrect arguments

Constructor Summary

BadIDException(String msg, Map map, String id, HelpSet hs)
Create the exception.

Method Summary

HelpSet
getHelpSet()
The HelpSet that wasn't found in the Map
String
getID()
The ID that wasn't found in the Map
Map
getMap()
The HelpSet in which the ID wasn't found

Constructor Details

BadIDException

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

Method Details

getHelpSet

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

getID

public String getID()
The ID that wasn't found in the Map

getMap

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