com.businessobjects.rebean.wi
Class REException

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
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CommunicationException, ConfigurationException, CustomSortException, DSObjectSynchroException, FilterConditionException, InvalidParameterException, NotImplementedException, QueryException, ReportException, ServerException, UnsupportedFeatureException

public class REException
extends java.lang.RuntimeException

The REException class is the base class for all ReBean custom exceptions.

See Also:
Serialized Form

Method Summary
 java.lang.String getCode()
          The error code.
 int getErrorCode()
          Deprecated. From version 11.5 onwards, use REException.getCode() instead.
 java.lang.String getLocalizedMessage()
          Gets the localized message.
 
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
 

Method Detail

getErrorCode

@Deprecated
public int getErrorCode()
Deprecated. From version 11.5 onwards, use REException.getCode() instead.

Returns the error code of the exception. The error codes are defined in each specific subclass.

Returns:
the error code

getCode

public java.lang.String getCode()
The error code.

Returns:
The error code.
Since:
11.5

getLocalizedMessage

public java.lang.String getLocalizedMessage()
Gets the localized message.

Overrides:
getLocalizedMessage in class java.lang.Throwable
Returns:
the localized message.
See Also:
Throwable.getLocalizedMessage()