com.businessobjects.rebean.wi
Class QueryException

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.QueryException
All Implemented Interfaces:
java.io.Serializable

public class QueryException
extends REException

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

The QueryException class defines unique identifiers for exceptions arising when an illegal operation is attempted on a Query or DataProvider.

See Also:
Serialized Form

Field Summary
static int CANNOT_DELETE_LAST_DP
          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 DP_NAME_EXISTS
          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 EMPTY_QUERY
          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
QueryException(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

EMPTY_QUERY

public static final int EMPTY_QUERY
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
Cannot run an empty Query. No DataSourceObjects have been added to the results section of the Query.

See Also:
Constant Field Values

CANNOT_DELETE_LAST_DP

public static final int CANNOT_DELETE_LAST_DP
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
Cannot delete the last DataProvider.

See Also:
Constant Field Values

DP_NAME_EXISTS

public static final int DP_NAME_EXISTS
Deprecated. This error code corresponds to a possible return value for REException.getErrorCode(), which should no longer be called; use REException.getCode() instead.
A DataProvider with the same name exists already.

See Also:
Constant Field Values
Constructor Detail

QueryException

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