BEA Systems, Inc.

com.beasys.commerce.axiom.reasoning.rules.serviceProvider
Class ServiceProviderException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.beasys.commerce.axiom.reasoning.rules.serviceProvider.ServiceProviderException

public class ServiceProviderException
extends java.lang.Exception

Implements an exception that may be thrown by rules service providers.

See Also:
Serialized Form

Field Summary
static java.lang.String MESSAGE_DELIMITER
          The string used to delimit portions of an exception message
 
Constructor Summary
ServiceProviderException()
          Constructor
ServiceProviderException(java.lang.String msg)
          Constructor.
ServiceProviderException(java.lang.String msg, java.lang.Throwable source)
          Constructor.
 
Method Summary
 java.lang.String getMessage()
          Gets message
 java.lang.Throwable getSource()
          Gets the exception which caused this exception to be raised
 java.lang.String toString()
          Returns a string representation of the exception
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MESSAGE_DELIMITER

public static final java.lang.String MESSAGE_DELIMITER
The string used to delimit portions of an exception message
Constructor Detail

ServiceProviderException

public ServiceProviderException()
Constructor

ServiceProviderException

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

ServiceProviderException

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

getMessage

public java.lang.String getMessage()
Gets message
Overrides:
getMessage in class java.lang.Throwable

getSource

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

toString

public java.lang.String toString()
Returns a string representation of the exception
Overrides:
toString in class java.lang.Throwable
Returns:
The string representation of the exception

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved