javax.help

Class InvalidHelpSetContextException


public class InvalidHelpSetContextException
extends Exception

The HelpSet is not a (transitive) sub-HelpSet of some context HelpSet. For example, setting an ID to a HelpModel.

Constructor Summary

InvalidHelpSetContextException(String msg, HelpSet context, HelpSet hs)
Create the exception.

Method Summary

HelpSet
getContext()
Get the context HelpSet
HelpSet
getHelpSet()
Get the offending HelpSet

Constructor Details

InvalidHelpSetContextException

public InvalidHelpSetContextException(String msg,
                                      HelpSet context,
                                      HelpSet hs)
Create the exception. All parameters accept null values.
Parameters:
msg - The message. If msg is null it is the same as if no detailed message was specified.

Method Details

getContext

public HelpSet getContext()
Get the context HelpSet

getHelpSet

public HelpSet getHelpSet()
Get the offending HelpSet