com.businessobjects.rebean.wi
Class ServerException

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.ServerException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
UserInputRequiredException

public class ServerException
extends REException

The ServerException class provides a specialized exception for any exception thrown by the Web Intelligence ReportEngine server.

See Also:
Serialized Form

Constructor Summary
ServerException(java.lang.String component, int errorCode, java.lang.String errorType, java.lang.String message, java.lang.String fullErrorCode)
           Constructor.
ServerException(java.lang.String component, int errorCode, java.lang.String errorType, java.lang.String message, java.lang.String fullErrorCode, java.lang.Throwable cause)
           Constructor.
ServerException(java.lang.String message, java.lang.String localMessage, int errorCode, java.lang.String fullErrorCode)
           Constructor.
 
Method Summary
 java.lang.String getComponent()
          Returns a String showing the component in which the exception was thrown.
 java.lang.String getErrorType()
          Returns a String showing the type of exception thrown.
 
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
 

Constructor Detail

ServerException

public ServerException(java.lang.String component,
                       int errorCode,
                       java.lang.String errorType,
                       java.lang.String message,
                       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:
component - The component where the exception took place.
errorCode - The error code assigned to this exception.
errorType - The type of error.
message - The message that will be returned with the exception.
fullErrorCode - The complete error code.

ServerException

public ServerException(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 message that will be returned with the exception.
localMessage - A localized version of the exception message.
errorCode - The error code assigned to this exception.
fullErrorCode - The complete error code.

ServerException

public ServerException(java.lang.String component,
                       int errorCode,
                       java.lang.String errorType,
                       java.lang.String message,
                       java.lang.String fullErrorCode,
                       java.lang.Throwable cause)

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:
component - The component where the exception took place.
errorCode - The error code assigned to this exception.
errorType - The type of error.
message - The message that will be returned with the exception.
fullErrorCode - The complete error code.
cause - The cause of the exception.
Method Detail

getComponent

public java.lang.String getComponent()
Returns a String showing the component in which the exception was thrown.


getErrorType

public java.lang.String getErrorType()
Returns a String showing the type of exception thrown.