|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException com.businessobjects.rebean.wi.REException com.businessobjects.rebean.wi.ReportException
public class ReportException
A ReportException
is thrown when an illegal operation has been
made on a reporting feature.
Field Summary | |
---|---|
static int |
AGGR_ON_AXIS
Deprecated. since 6.5.0, it is possible to put aggregations on a block axis |
static int |
ATTACH_DIFFERENT_CONTAINER
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
CANNOT_REMOVE_BODY
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
CIRCULAR_ATTACHMENT
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
EXPR_NOT_IN_AXIS
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
EXPR_NOT_IN_CELL
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
HOR_ATTACHMENT_ON_SECTION
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
MEASURE_IN_SECTION
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
ONLY_DIMENSION_OBJ
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
ONLY_MEASURE_OBJ
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
static int |
TWO_EXPR_IN_SECTION
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode() , which should no longer
be called; use REException.getCode() instead. |
Constructor Summary | |
---|---|
ReportException(java.lang.String message,
java.lang.String localMessage,
int errorCode,
java.lang.String fullErrorCode)
Constructor. |
Method Summary |
---|
Methods inherited from class com.businessobjects.rebean.wi.REException |
---|
getCode, getErrorCode, getLocalizedMessage |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int AGGR_ON_AXIS
FormulaExpression.isAggregation()
,
Constant Field Valuespublic static final int EXPR_NOT_IN_AXIS
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.
public static final int ONLY_MEASURE_OBJ
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.
public static final int MEASURE_IN_SECTION
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.
ReportExpression.getQualification()
,
Constant Field Valuespublic static final int TWO_EXPR_IN_SECTION
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.
public static final int CIRCULAR_ATTACHMENT
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.
public static final int EXPR_NOT_IN_CELL
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.Expression different from TableCell's expression.
Thrown when a BlockCalculation
has been obtained using
Table.getHBlockCalculation(TableCell)
or
Table.getVBlockCalculation(TableCell)
, and the
TableCell
contained an expression different from the one
passed in
BlockCalculation.createCalculationElement(ReportExpression, Calculation)
.
To solve this problem, pass null
for the first parameter
of createCalculationElement(ReportExpression,
Calculation)
.
public static final int ATTACH_DIFFERENT_CONTAINER
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.ReportElementContainer
.
public static final int HOR_ATTACHMENT_ON_SECTION
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.
public static final int CANNOT_REMOVE_BODY
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.
CellMatrix.removeRow(int)
,
CellMatrix.removeColumn(int)
,
Constant Field Valuespublic static final int ONLY_DIMENSION_OBJ
REException.getErrorCode()
, which should no longer
be called; use REException.getCode()
instead.
Constructor Detail |
---|
public ReportException(java.lang.String message, java.lang.String localMessage, int errorCode, java.lang.String fullErrorCode)
Constructor.
This code is not intended to be called by clients; only REBean should instantiate this type of exception. The format of this constructor can change at any time, without keeping backward compatibility.
message
- The error message (default language).localMessage
- A localized version of message
(session
language).errorCode
- The unique identifier associated with this exception.fullErrorCode
- The error code with the correct prefix.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |