org.eclipse.birt.report.model.api.extension
Class ExtendedElementException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.birt.core.exception.BirtException
              extended byorg.eclipse.birt.report.model.api.ModelException
                  extended byorg.eclipse.birt.report.model.api.activity.SemanticException
                      extended byorg.eclipse.birt.report.model.api.extension.ExtendedElementException
All Implemented Interfaces:
java.io.Serializable

public class ExtendedElementException
extends SemanticException

Base class for all peer-provided exceptions. The easiest implementation is to simply wrap the specialized peer implementation inside one of these exceptions.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.eclipse.birt.report.model.api.activity.SemanticException
element
 
Fields inherited from class org.eclipse.birt.report.model.api.ModelException
PLUGIN_ID
 
Fields inherited from class org.eclipse.birt.core.exception.BirtException
CANCEL, ERROR, INFO, oaMessageArguments, OK, pluginId, rb, severity, sResourceKey, WARNING
 
Constructor Summary
ExtendedElementException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.util.ResourceBundle bundle)
          Constructs a new model exception.
ExtendedElementException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.util.ResourceBundle bundle, java.lang.Throwable cause)
          Constructs a new model exception.
ExtendedElementException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.lang.Throwable cause)
          Constructs a new model exception.
ExtendedElementException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object arg0, java.util.ResourceBundle bundle)
          Constructs a new model exception.
ExtendedElementException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object arg0, java.util.ResourceBundle bundle, java.lang.Throwable cause)
          Constructs a new model exception.
ExtendedElementException(java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle)
          Constructs a new model exception with no cause object.
ExtendedElementException(java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle, java.lang.Throwable cause)
          Constructs a new model exception.
 
Methods inherited from class org.eclipse.birt.report.model.api.activity.SemanticException
getElement, getElementName, getMessage
 
Methods inherited from class org.eclipse.birt.core.exception.BirtException
getErrorCode, getLocalizedMessage, getLocalizedMessage, getPluginId, getSeverity, setSeverity
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, 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

ExtendedElementException

public ExtendedElementException(java.lang.String pluginId,
                                java.lang.String errorCode,
                                java.util.ResourceBundle bundle)
Constructs a new model exception with no cause object.

Parameters:
pluginId - Returns the unique identifier of the plug-in associated with this exception
errorCode - used to retrieve a piece of externalized message displayed to end user.
bundle - the resourceBundle used to translate the message.

ExtendedElementException

public ExtendedElementException(java.lang.String pluginId,
                                java.lang.String errorCode,
                                java.util.ResourceBundle bundle,
                                java.lang.Throwable cause)
Constructs a new model exception.

Parameters:
pluginId - Returns the unique identifier of the plug-in associated with this exception
errorCode - used to retrieve a piece of externalized message displayed to end user.
bundle - the resourceBundle used to translate the message.
cause - the nested exception

ExtendedElementException

public ExtendedElementException(java.lang.String pluginId,
                                java.lang.String errorCode,
                                java.lang.Object[] args,
                                java.util.ResourceBundle bundle,
                                java.lang.Throwable cause)
Constructs a new model exception.

Parameters:
pluginId - Returns the unique identifier of the plug-in associated with this exception
errorCode - used to retrieve a piece of externalized message displayed to end user.
bundle - the resourceBundle used to translate the message.
args - string arguments used to format error messages
cause - the nested exception

ExtendedElementException

public ExtendedElementException(java.lang.String pluginId,
                                java.lang.String errorCode,
                                java.lang.Object arg0,
                                java.util.ResourceBundle bundle,
                                java.lang.Throwable cause)
Constructs a new model exception.

Parameters:
pluginId - Returns the unique identifier of the plug-in associated with this exception
errorCode - used to retrieve a piece of externalized message displayed to end user.
bundle - the resourceBundle used to translate the message.
cause - the nested exception
arg0 - first argument used to format error messages

ExtendedElementException

public ExtendedElementException(java.lang.String pluginId,
                                java.lang.String errorCode,
                                java.lang.Object[] args,
                                java.util.ResourceBundle bundle)
Constructs a new model exception.

Parameters:
pluginId - Returns the unique identifier of the plug-in associated with this exception
errorCode - used to retrieve a piece of externalized message displayed to end user.
bundle - the resourceBundle used to translate the message.
args - string arguments used to format error messages

ExtendedElementException

public ExtendedElementException(java.lang.String pluginId,
                                java.lang.String errorCode,
                                java.lang.Object arg0,
                                java.util.ResourceBundle bundle)
Constructs a new model exception.

Parameters:
pluginId - Returns the unique identifier of the plug-in associated with this exception
errorCode - used to retrieve a piece of externalized message displayed to end user.
bundle - the resourceBundle used to translate the message.
arg0 - first argument used to format error messages

ExtendedElementException

public ExtendedElementException(java.lang.String pluginId,
                                java.lang.String errorCode,
                                java.lang.Object[] args,
                                java.lang.Throwable cause)
Constructs a new model exception.

Parameters:
pluginId - Returns the unique identifier of the plug-in associated with this exception
errorCode - used to retrieve a piece of externalized message displayed to end user.
cause - the nested exception
args - string arguments used to format error messages


Copyright © 2005 Actuate Corp. All rights reserved.