Uses of Class
org.eclipse.birt.core.exception.BirtException
Packages that use BirtException
Package
Description
Provide BIRT's data util component.
Defines BIRT's Exception framework.
Provides a set of formatter classes.
Defines the platform interfaces that allow BIRT to be run in Eclipse and
server environments.
Provides Java Script support to BIRT.
-
Uses of BirtException in org.eclipse.birt.core.data
Methods in org.eclipse.birt.core.data that throw BirtExceptionModifier and TypeMethodDescriptionstatic ListExpressionParserUtility.compileColumnExpression(String expression) compile the expressionstatic ListExpressionParserUtility.compileColumnExpression(ExpressionParserUtility util, String expression, String indicator) compile the expressionstatic Objectconvert an object to given type Types supported: DataType.INTEGER_TYPE DataType.DECIMAL_TYPE DataType.BOOLEAN_TYPE DataType.DATE_TYPE DataType.DOUBLE_TYPE DataType.STRING_TYPE DataType.BLOB_TYPE DataType.SQL_DATE_TYPE DataType.SQL_TIME_TYPEstatic Objectconvert a object to given class Classes supported: Integer.class BigDecimal.class Boolean.class Time.class Date.class Double.class String.class Blob.classstatic List<IColumnBinding>ExpressionUtil.extractColumnExpressions(String oldExpression) Extract all column expression infostatic List<IColumnBinding>ExpressionUtil.extractColumnExpressions(String oldExpression, boolean mode) Deprecated.static List<IColumnBinding>ExpressionUtil.extractColumnExpressions(String oldExpression, String indicator) Extract all column expression infostatic StringParse a date/time string.static StringFormat a date/time object.static StringExpressionUtil.generateConstantExpr(String input, int dataType) Generate a Javascript constant expression by user input string and target BIRT data type.ExpressionHelper.getColumnBindingName(String oldExpression) static StringExpressionUtil.getColumnBindingName(String oldExpression) Get the simplest column binding name.ExpressionHelper.getColumnName(String oldExpression) static StringExpressionUtil.getColumnName(String oldExpression) Get the simplest column binding name.static StringDataTypeUtil.getDateFormat(String source) Find the date format pattern string for a given datetime string without specified locale.static com.ibm.icu.text.DateFormatDataTypeUtil.getDateFormat(String source, com.ibm.icu.util.ULocale locale, com.ibm.icu.util.TimeZone timeZone) Deprecated.use getDateFormatObject insteadstatic com.ibm.icu.text.SimpleDateFormatDateFormatISO8601.getDateFormat(String source, com.ibm.icu.util.TimeZone timeZone) Deprecated.use getSimpleDateFormat insteadstatic com.ibm.icu.text.DateFormatDataTypeUtil.getDateFormatObject(String source, com.ibm.icu.util.ULocale locale, com.ibm.icu.util.TimeZone timeZone) Retrieve date format object that matches the given date/time stringstatic com.ibm.icu.text.SimpleDateFormatDateFormatISO8601.getSimpleDateFormat(String source, com.ibm.icu.util.TimeZone timeZone) Get a date format object that can parse the given date/time stringstatic booleanExpressionParserUtility.hasAggregation(String expression) static booleanExpressionParserUtility.isDirectColumnRef(String expression, String indicator) static DateParse a date/time string.static intDataTypeUtil.toApiDataType(int odaDataTypeCode) Converts an ODA data type code to its corresponding Data Engine API data type constant defined in DataType.static BigDecimalDataTypeUtil.toBigDecimal(Object source) Boolean -> BigDecimal true -> 1 others -> 0 Date -> BigDecimal Date.getTime(); String -> BigDecimal new BigDecimal(String);static BlobConverting Blob to/from other types is not currently supportedstatic BooleanNumber -> Boolean 0 -> false others -> true String -> Boolean "true" -> true (ignore case) "false" -> false (ignore case) other string will throw an exception Date -> Boolean throw exceptionstatic byte[]static DateNumber -> Date new Date((long)Number) String -> Date toDate(String)static DateConvert a string to a Date instance according to the TimeZone valuestatic Dateconvert String with the specified locale to java.util.Datestatic DateDataTypeUtil.toDate(String source, com.ibm.icu.util.ULocale locale, com.ibm.icu.util.TimeZone timeZone) Parses a date/time stringstatic DateA temp solution to the adoption of ICU4J to BIRT.static DateDataTypeUtil.toDateWithCheck(String source, com.ibm.icu.util.ULocale locale) Convert string to date with check.static DateDataTypeUtil.toDateWithCheck(String source, Locale locale) A temp solution to the adoption of ICU4J in BIRT.static DoubleBoolean -> Double true -> 1 others -> 0 Date -> Double Date.getTime(); String -> Double Double.valueOf(String);static IntegerBoolean -> Integer true -> 1 others -> 0 Date -> Integer Date.getTime(); String -> Integer Integer.valueOf();static IntegerBoolean -> Integer true -> 1 others -> 0 Date -> Integer Date.getTime(); String -> Integer Integer.valueOf();static StringDataTypeUtil.toLocaleNeutralString(Object source) Convert an object to an locale neutral String value.static StringDataTypeUtil.toLocaleNeutralString(Object source, com.ibm.icu.util.TimeZone zone) Convert an object to an locale neutral String value.static ClassDataTypeUtil.toOdiTypeClass(int odaDataTypeCode) Converts an ODA data type code to the Java class of its corresponding Data Engine ODI data type.static DateDate -> Time String -> Timestatic TimeDate -> Time String -> Timestatic StringNumber -> String Number.toString() Boolean -> String Boolean.toString() Date -> String toString(Date)static StringNumber -> String Number.toString() Boolean -> String Boolean.toString() Date -> String toString(Date,locale)static StringA temp solution to the adoption of ICU4J.static TimestampDataTypeUtil.toTimestamp(Object source) -
Uses of BirtException in org.eclipse.birt.core.exception
Subclasses of BirtException in org.eclipse.birt.core.exception -
Uses of BirtException in org.eclipse.birt.core.format
Methods in org.eclipse.birt.core.format that throw BirtExceptionModifier and TypeMethodDescriptionAutoFormatter.formatValue(Object value) IFormatter.DefaultFormatter.formatValue(Object value) IFormatter.formatValue(Object value) format the value object into a string.LocaleNeutralFormatter.formatValue(Object value) -
Uses of BirtException in org.eclipse.birt.core.framework
Subclasses of BirtException in org.eclipse.birt.core.frameworkModifier and TypeClassDescriptionclassA checked exception representing a failure.Methods in org.eclipse.birt.core.framework that throw BirtExceptionModifier and TypeMethodDescriptionstatic voidPlatform.startup()static voidPlatform.startup(PlatformConfig config) startup the platform. -
Uses of BirtException in org.eclipse.birt.core.script
Methods in org.eclipse.birt.core.script that return BirtExceptionModifier and TypeMethodDescriptionstatic BirtExceptionJavascriptEvalUtil.wrapRhinoException(org.mozilla.javascript.RhinoException e, String scriptText, String source, int lineNo) Converts Rhino exception (a runtime exception) to BirtExceptionMethods in org.eclipse.birt.core.script that throw BirtExceptionModifier and TypeMethodDescriptionstatic final Numberstatic final Numberadd operation.static final intstatic final intMathUtil.compareTo0(Object number) IScriptEngine.compile(ScriptContext scriptContext, String fileName, int lineNumber, String script) Compiles the script for later execution.IScriptEngineFactory.createScriptEngine()Returns an instance of IScriptEngine associated with this factory.static final NumberIScriptEngine.evaluate(ScriptContext scriptContext, ICompiledScript script) Evaluates a compiled script.ScriptContext.evaluate(ICompiledScript script) static ObjectJavascriptEvalUtil.evaluateRawScript(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, String scriptText, String source, int lineNo) This method will not convert the data of return value, so it might the Java data type or that of Java Script.static ObjectJavascriptEvalUtil.evaluateScript(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable scope, String scriptText, String source, int lineNo) Evaluates Javascript expression and return its result, doing the necessary Javascript -> Java data type conversion if necessaryScriptContext.getScriptEngine(String scriptName) static final Numberstatic final Numberstatic final ObjectMathUtil.safeDivide(Object dividend, Object divisor, Object ifZero) static final Numberstatic final Numberadd operation.
extractColumnExpressions( String, String )instead