org.eclipse.birt.report.model.api
Class ModelException

java.lang.Object
  extended by BirtException
      extended by org.eclipse.birt.report.model.api.ModelException
Direct Known Subclasses:
DesignFileException, MetaDataReaderException, SemanticException, StyleSheetException, StyleSheetParserException

public abstract class ModelException
extends BirtException

Implementation of BirtException in model project.


Field Summary
static java.lang.String PLUGIN_ID
          The plugin id of all the model exceptions.
 
Constructor Summary
ModelException(java.lang.String errCode)
          Constructs a new model exception with the error code.
ModelException(java.lang.String errCode, java.lang.String[] args, java.lang.Throwable cause)
          Constructs a new model exception with the error code, string arguments used to format error messages and the nested exception.
ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.util.ResourceBundle bundle)
          Constructs a new model exception.
ModelException(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.
ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object[] args, java.lang.Throwable cause)
          Constructs a new model exception.
ModelException(java.lang.String pluginId, java.lang.String errorCode, java.lang.Object arg0, java.util.ResourceBundle bundle)
          Constructs a new model exception.
ModelException(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.
ModelException(java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle)
          Constructs a new model exception with no cause object.
ModelException(java.lang.String pluginId, java.lang.String errorCode, java.util.ResourceBundle bundle, java.lang.Throwable cause)
          Constructs a new model exception.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final java.lang.String PLUGIN_ID
The plugin id of all the model exceptions.

See Also:
Constant Field Values
Constructor Detail

ModelException

public ModelException(java.lang.String errCode)
Constructs a new model exception with the error code.

Parameters:
errCode - used to retrieve a piece of externalized message displayed to end user

ModelException

public ModelException(java.lang.String errCode,
                      java.lang.String[] args,
                      java.lang.Throwable cause)
Constructs a new model exception with the error code, string arguments used to format error messages and the nested exception.

Parameters:
errCode - used to retrieve a piece of externalized message displayed to end user
args - string arguments used to format error messages
cause - the nested exception

ModelException

public ModelException(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.

ModelException

public ModelException(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

ModelException

public ModelException(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

ModelException

public ModelException(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

ModelException

public ModelException(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

ModelException

public ModelException(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

ModelException

public ModelException(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 © 2008 Actuate Corp. All rights reserved.