Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-01

oracle.AWXML
Class AWException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--oracle.AWXML.AWException
Direct Known Subclasses:
AWConnectionException, AWExpressCommandException, AWExpressObjectNotFound, AWMemberExistsException, AWObjectExistsException, ObjectNotValidException

public class AWException
extends java.lang.RuntimeException

Indicates that an exception has occurred in an Analytic Workspace Java API operation.

See Also:
Serialized Form

Constructor Summary
AWException()
Creates an AWException with null as its message and cause.
AWException(java.lang.String message)
Creates an AWException with the specified message.
AWException(java.lang.String message, java.lang.Object[] arguments)
Creates an AWException with a message that includes the text of the message string with the inserted argument values in the format specified by the message.
AWException(java.lang.String message, java.lang.Object[] arguments, java.lang.Throwable cause)
Creates an AWException with the specified cause and with a message that includes the text of the message string with the inserted argument values in the format specified by the message.
AWException(java.lang.String message, java.lang.Throwable cause)
Creates an AWException with the specified message and cause.
AWException(java.lang.Throwable cause)
Creates an AWException with the specified cause.

Method Summary
java.lang.String getErrorCode()
Gets the String that is the message parameter used in creating the AWException.
java.lang.String getMessage()
Gets the message associated with the AWException.

Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace, toString

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

AWException

public AWException()
Creates an AWException with null as its message and cause.

AWException

public AWException(java.lang.String message)
Creates an AWException with the specified message.
Parameters:
message - A String that contains a message to associate with the AWException.

AWException

public AWException(java.lang.String message,
                   java.lang.Object[] arguments)
Creates an AWException with a message that includes the text of the message string with the inserted argument values in the format specified by the message. For more information on message formats, see the java.text.MessageFormat documentation.
Parameters:
message - A String that contains text and the formatting information for the argument values.
arguments - An array of Object objects that contain values to insert in the message text as specified by the formatting information.

AWException

public AWException(java.lang.Throwable cause)
Creates an AWException with the specified cause.
Parameters:
cause - A Throwable to associate with the AWException.

AWException

public AWException(java.lang.String message,
                   java.lang.Throwable cause)
Creates an AWException with the specified message and cause.
Parameters:
message - A String that contains a message to associate with the AWException.
cause - A Throwable to associate with the AWException.

AWException

public AWException(java.lang.String message,
                   java.lang.Object[] arguments,
                   java.lang.Throwable cause)
Creates an AWException with the specified cause and with a message that includes the text of the message string with the inserted argument values in the format specified by the message. For more information on message formats, see the java.text.MessageFormat documentation.
Parameters:
message - A String that contains text and the formatting information for the argument values.
arguments - An array of Object objects that contain values to insert in the message text as specified by the formatting information.
cause - A Throwable to associate with the AWException.

Method Detail

getMessage

public java.lang.String getMessage()
Gets the message associated with the AWException.
Overrides:
getMessage in class java.lang.Throwable
Returns:
A String containing the message associated with the AWException.

getErrorCode

public java.lang.String getErrorCode()
Gets the String that is the message parameter used in creating the AWException.
Returns:
The String that is the message parameter used in creating the AWException.

Oracle® OLAP Analytic Workspace Java API Reference
10g Release 2 (10.2)

B14351-01

Copyright © 2003, 2005 Oracle. All rights reserved.