BEA Systems, Inc.

com.beasys.commerce.axiom.advisor
Class AdvisorException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.beasys.commerce.axiom.advisor.AdvisorException

public class AdvisorException
extends java.lang.Exception

Implements an exception thrown by Advisor methods.

See Also:
Serialized Form

Field Summary
protected  java.lang.Exception source
          The source exception.
 
Constructor Summary
AdvisorException()
          Constructor
AdvisorException(java.lang.String msg)
          Constructor.
AdvisorException(java.lang.String msg, java.lang.Exception source)
          Constructor.
 
Method Summary
 java.lang.Throwable getSource()
          Deprecated. As of WLPS 3.1, replaced by getSourceException()
 java.lang.Exception getSourceException()
          Gets the exception which caused this exception to be raised
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

source

protected java.lang.Exception source
The source exception.
Constructor Detail

AdvisorException

public AdvisorException()
Constructor

AdvisorException

public AdvisorException(java.lang.String msg)
Constructor.
Parameters:
msg - the message.

AdvisorException

public AdvisorException(java.lang.String msg,
                        java.lang.Exception source)
Constructor.
Parameters:
msg - the message.
source - the exception which is the source of this exception.
Method Detail

getSource

public java.lang.Throwable getSource()
Deprecated. As of WLPS 3.1, replaced by getSourceException()

Gets the exception which caused this exception to be raised
Returns:
the exception (can be null if none).

getSourceException

public java.lang.Exception getSourceException()
Gets the exception which caused this exception to be raised
Returns:
the exception (can be null if none).

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved