| org.tigris.scarab.util.ScarabException
All known Subclasses: org.tigris.scarab.util.ValidationException, org.tigris.scarab.util.word.ComplexQueryException, org.tigris.scarab.util.word.MaxConcurrentSearchException, org.tigris.scarab.da.DAException, org.tigris.scarab.reports.IncompatibleMITListException,
ScarabException | public class ScarabException extends TurbineException (Code) | | This class extends TurbineException and does not change its
functionality. It should be used to mark Scarab specific
exceptions.
In order to ensure localization of Exception messages,
ScarabException adds a new type of message, the L10NMessage.
author: John D. McNally version: $Id: ScarabException.java 10176 2006-06-15 09:39:17Z dabbous $ |
Constructor Summary | |
public | ScarabException(LocalizationKey theKey) Constructs a new ScarabException with specified
resource and no parameters. | public | ScarabException(LocalizationKey theKey, Throwable nested) Constructs a new ScarabException with specified
resource and a nested Throwable. | public | ScarabException(Localizable theL10nInstance) Constructs a new ScarabException with specified
Localizable . | public | ScarabException(Localizable theL10nInstance, Throwable nested) Constructs a new ScarabException with specified
Localizable and a nested Throwable. | public | ScarabException(LocalizationKey theKey, Object[] theParams) Constructs a new ScarabException with specified
resource and a list of parameters. | public | ScarabException(LocalizationKey theKey, Object p1) convenience constructor: Constructs a new ScarabException
with specified resource and one parameter. | public | ScarabException(LocalizationKey theKey, Object p1, Object p2) convenience constructor: Constructs a new ScarabException
with specified resource and two parameters. | public | ScarabException(LocalizationKey theKey, Object p1, Object p2, Object p3) convenience constructor: Constructs a new ScarabException
with specified resource and three parameters. | public | ScarabException(LocalizationKey theKey, Throwable nested, Object[] theParams) convenience constructor: Constructs a new ScarabException
with specified resource, nested Throwable and an aritrary set of parameters. | public | ScarabException(LocalizationKey theKey, Throwable nested, Object p1) convenience constructor: Constructs a new ScarabException
with specified resource, nested Throwable and one parameter. | public | ScarabException(LocalizationKey theKey, Throwable nested, Object p1, Object p2) convenience constructor: Constructs a new ScarabException
with specified resource, nested Throwable and two parameters. | public | ScarabException(LocalizationKey theKey, Throwable nested, Object p1, Object p2, Object p3) convenience constructor: Constructs a new ScarabException
with specified resource, nested Throwable and three parameters. |
ScarabException | public ScarabException(LocalizationKey theKey)(Code) | | Constructs a new ScarabException with specified
resource and no parameters.
Parameters: theKey - the l10n error key. |
ScarabException | public ScarabException(LocalizationKey theKey, Throwable nested)(Code) | | Constructs a new ScarabException with specified
resource and a nested Throwable.
Parameters: theKey - the l10n error key. Parameters: nested - |
ScarabException | public ScarabException(Localizable theL10nInstance)(Code) | | Constructs a new ScarabException with specified
Localizable .
Parameters: theL10nInstance - the l10n error key. |
ScarabException | public ScarabException(Localizable theL10nInstance, Throwable nested)(Code) | | Constructs a new ScarabException with specified
Localizable and a nested Throwable.
Parameters: theL10nInstance - the l10n error key. Parameters: nested - |
ScarabException | public ScarabException(LocalizationKey theKey, Object[] theParams)(Code) | | Constructs a new ScarabException with specified
resource and a list of parameters.
Parameters: theL10nInstance - the l10n error key. Parameters: theParams - |
ScarabException | public ScarabException(LocalizationKey theKey, Object p1)(Code) | | convenience constructor: Constructs a new ScarabException
with specified resource and one parameter.
Parameters: theL10nInstance - the l10n error key. Parameters: p1 - |
ScarabException | public ScarabException(LocalizationKey theKey, Object p1, Object p2)(Code) | | convenience constructor: Constructs a new ScarabException
with specified resource and two parameters.
Parameters: theL10nInstance - the l10n error key. Parameters: p1 - Parameters: p2 - |
ScarabException | public ScarabException(LocalizationKey theKey, Object p1, Object p2, Object p3)(Code) | | convenience constructor: Constructs a new ScarabException
with specified resource and three parameters.
Parameters: theL10nInstance - the l10n error key. Parameters: p1 - Parameters: p2 - Parameters: p3 - |
ScarabException | public ScarabException(LocalizationKey theKey, Throwable nested, Object[] theParams)(Code) | | convenience constructor: Constructs a new ScarabException
with specified resource, nested Throwable and an aritrary set of parameters.
Parameters: theKey - Parameters: nested - Parameters: theParams - |
ScarabException | public ScarabException(LocalizationKey theKey, Throwable nested, Object p1)(Code) | | convenience constructor: Constructs a new ScarabException
with specified resource, nested Throwable and one parameter.
Parameters: theKey - Parameters: nested - Parameters: p1 - |
ScarabException | public ScarabException(LocalizationKey theKey, Throwable nested, Object p1, Object p2)(Code) | | convenience constructor: Constructs a new ScarabException
with specified resource, nested Throwable and two parameters.
Parameters: theKey - Parameters: nested - Parameters: p1 - Parameters: p2 - |
ScarabException | public ScarabException(LocalizationKey theKey, Throwable nested, Object p1, Object p2, Object p3)(Code) | | convenience constructor: Constructs a new ScarabException
with specified resource, nested Throwable and three parameters.
Parameters: theKey - Parameters: nested - Parameters: p1 - Parameters: p2 - Parameters: p3 - |
getL10nMessage | public Localizable getL10nMessage()(Code) | | return the L10NInstance, or null, if no L10N key was given.
|
getLocalizedMessage | public String getLocalizedMessage()(Code) | | |
setLocalizer | public void setLocalizer(ScarabLocalizationTool localizer)(Code) | | Setter for property l10n.
Parameters: l10n - New value of property l10n. |
|
|