com.beasys.commerce.axiom.reasoning.rules.service
Class RulesServiceException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.beasys.commerce.axiom.reasoning.rules.service.RulesServiceException
- public class RulesServiceException
- extends java.lang.Exception
Implements an exception thrown by rules service methods.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
MESSAGE_DELIMITER
The string used to delimit portions of an exception message |
protected java.lang.Throwable |
source
The source exception. |
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 |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
MESSAGE_DELIMITER
public static final java.lang.String MESSAGE_DELIMITER
- The string used to delimit portions of an exception message
source
protected transient java.lang.Throwable source
- The source exception.
RulesServiceException
public RulesServiceException()
- Constructor
RulesServiceException
public RulesServiceException(java.lang.String msg)
- Constructor.
- Parameters:
msg
- the message.
RulesServiceException
public RulesServiceException(java.lang.String msg,
java.lang.Exception source)
- Constructor.
- Parameters:
msg
- the message.source
- the exception which is the source of this exception.
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
Copyright © 2000 BEA Systems, Inc. All Rights Reserved