com.ibm.websphere.sca
Class ServiceBusinessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.ibm.websphere.sca.ServiceBusinessException
All Implemented Interfaces:
java.io.Serializable

public class ServiceBusinessException
extends java.lang.RuntimeException

Exception used to indicate that a business exception occurred during the execution of a business operation.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
ServiceBusinessException(java.lang.Object data)
          Constructs a new ServiceBusinessException with the specified business data.
ServiceBusinessException(java.lang.Throwable cause)
          Constructs a new ServiceBusinessException with the specified cause.
 
Method Summary
 java.lang.Object getData()
          Returns the business data representing this business exception.
 java.lang.String getMessage()
          Returns the detail message string of this business exception.
 void printStackTrace(java.io.PrintStream s)
           
 void printStackTrace(java.io.PrintWriter s)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

ServiceBusinessException

public ServiceBusinessException(java.lang.Throwable cause)
Constructs a new ServiceBusinessException with the specified cause.

Parameters:
cause - The cause (which is saved to later retrieval by the getCause() method).

ServiceBusinessException

public ServiceBusinessException(java.lang.Object data)
Constructs a new ServiceBusinessException with the specified business data.

Parameters:
data - The business data representing this business exception (which is saved to later retrieval by the getData() method).
Method Detail

getData

public java.lang.Object getData()
Returns the business data representing this business exception.

Returns:
The business data.

getMessage

public java.lang.String getMessage()
Returns the detail message string of this business exception.

Returns:
The detail message string of this business exception.

toString

public java.lang.String toString()
See Also:
Throwable.toString()

printStackTrace

public void printStackTrace(java.io.PrintStream s)
See Also:
Throwable.printStackTrace(java.io.PrintStream)

printStackTrace

public void printStackTrace(java.io.PrintWriter s)
See Also:
Throwable.printStackTrace(java.io.PrintWriter)