com.businessobjects.rebean.wi
Class FilterConditionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.businessobjects.rebean.wi.REException
                  extended by com.businessobjects.rebean.wi.FilterConditionException
All Implemented Interfaces:
java.io.Serializable

public class FilterConditionException
extends REException

The FilterConditionException is thrown when an illegal operation on a filter or a condition has been made.

See Also:
Serialized Form

Field Summary
static int FLTR_NO_PRECOND_OPERAND
          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 FLTR_NO_PROMPTS
          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 ILLEGAL_OPERATOR_ON_DOC_FILTER
          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 LIKE_OPERATOR_ON_NON_TEXT
          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 NO_FC_OPERAND
          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 NOT_ENOUGH_OPERANDS
          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 TOO_MANY_OPERANDS
          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 UNABLE_TO_ATTACH_A_LOV
          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
FilterConditionException(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

TOO_MANY_OPERANDS

public static final int TOO_MANY_OPERANDS
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
There are too many operands for the current operator.

See Also:
Constant Field Values

NOT_ENOUGH_OPERANDS

public static final int NOT_ENOUGH_OPERANDS
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
There are not enough operands for the current operator.

See Also:
Constant Field Values

FLTR_NO_PROMPTS

public static final int FLTR_NO_PROMPTS
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
Prompts are not possible on filters created at the report level.

See Also:
Constant Field Values

FLTR_NO_PRECOND_OPERAND

public static final int FLTR_NO_PRECOND_OPERAND
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
You cannot modify operators and operands in predefined conditions.

See Also:
Constant Field Values

NO_FC_OPERAND

public static final int NO_FC_OPERAND
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
Missing FilterConditionOperand. Thrown when no FilterConditionOperand has been set in a FilterConditionObject.

See Also:
Constant Field Values

LIKE_OPERATOR_ON_NON_TEXT

public static final int LIKE_OPERATOR_ON_NON_TEXT
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
Operator.LIKE and Operator.NOT_LIKE operators are only allowed on ObjectType.TEXT objects.

See Also:
Constant Field Values

ILLEGAL_OPERATOR_ON_DOC_FILTER

public static final int ILLEGAL_OPERATOR_ON_DOC_FILTER
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
The specified operator cannot be applied on a document filter. Thrown when trying set an operator on a document filter where it is allowed only on conditions (query filters).

See Also:
Constant Field Values

UNABLE_TO_ATTACH_A_LOV

public static final int UNABLE_TO_ATTACH_A_LOV
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
Prompt cannot have the list of value because the associated source object doesn't have LOV.

See Also:
Constant Field Values
Constructor Detail

FilterConditionException

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

Parameters:
message - Message to be sent when the exception is thrown.
localMessage - A localized version of message.
errorCode - The unique identifier associated with this exception.
fullErrorCode - The error code with the correct prefix.