org.eclipse.birt.report.engine.api
Class EngineException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.eclipse.birt.core.exception.BirtException
              extended byorg.eclipse.birt.report.engine.api.EngineException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UnsupportedFormatException

public class EngineException
extends org.eclipse.birt.core.exception.BirtException

Define an engine exception that clients of the engine need to handle. EngineException builds on top of BireException and provides resource bundle support

See Also:
Serialized Form

Field Summary
protected static com.ibm.icu.util.UResourceBundle dftRb
           
protected static java.lang.String pluginId
           
protected static java.util.HashMap resourceBundles
           
protected static java.lang.ThreadLocal threadLocal
           
 
Fields inherited from class org.eclipse.birt.core.exception.BirtException
CANCEL, ERROR, INFO, oaMessageArguments, OK, rb, severity, sResourceKey, WARNING
 
Constructor Summary
EngineException(java.lang.String errorCode)
           
EngineException(java.lang.String errorCode, java.lang.Object arg0)
           
EngineException(java.lang.String errorCode, java.lang.Object[] args)
           
EngineException(java.lang.String errorCode, java.lang.Object[] args, java.lang.Throwable cause)
           
EngineException(java.lang.String errorCode, java.lang.Object arg0, java.lang.Throwable cause)
           
EngineException(java.lang.String errorCode, java.lang.Throwable cause)
           
 
Method Summary
protected static com.ibm.icu.util.UResourceBundle getResourceBundle(com.ibm.icu.util.ULocale locale)
           
static void setULocale(com.ibm.icu.util.ULocale locale)
           
 
Methods inherited from class org.eclipse.birt.core.exception.BirtException
getErrorCode, getLocalizedMessage, getLocalizedMessage, getMessage, 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
 

Field Detail

dftRb

protected static com.ibm.icu.util.UResourceBundle dftRb

threadLocal

protected static java.lang.ThreadLocal threadLocal

pluginId

protected static final java.lang.String pluginId
See Also:
Constant Field Values

resourceBundles

protected static java.util.HashMap resourceBundles
Constructor Detail

EngineException

public EngineException(java.lang.String errorCode,
                       java.lang.Object arg0)
Parameters:
errorCode - erroe code for the exception
arg0 - message argument

EngineException

public EngineException(java.lang.String errorCode,
                       java.lang.Object arg0,
                       java.lang.Throwable cause)
Parameters:
errorCode -
arg0 - message argument
cause - the cause of the exception

EngineException

public EngineException(java.lang.String errorCode,
                       java.lang.Object[] args)
Parameters:
errorCode - error code
args - message argument

EngineException

public EngineException(java.lang.String errorCode,
                       java.lang.Object[] args,
                       java.lang.Throwable cause)
Parameters:
errorCode - error code
args - message arguments
cause - the cause of the exception

EngineException

public EngineException(java.lang.String errorCode)
Parameters:
errorCode - the error code

EngineException

public EngineException(java.lang.String errorCode,
                       java.lang.Throwable cause)
Parameters:
errorCode - the error code for the exception
cause - the cause of the exception
Method Detail

setULocale

public static void setULocale(com.ibm.icu.util.ULocale locale)

getResourceBundle

protected static com.ibm.icu.util.UResourceBundle getResourceBundle(com.ibm.icu.util.ULocale locale)


Copyright © 2005 Actuate Corp. All rights reserved.