com.ibm.websphere.sca
Class ServiceBusinessException
- java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.websphere.sca.ServiceBusinessException
All implemented interfaces:
java.io.Serializable
- public class ServiceBusinessException
- extends java.lang.RuntimeException
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
Constructor Summary
Constructor and Description |
---|
ServiceBusinessException(java.lang.Object data)
Constructs a new ServiceBusinessException with the specified business data.
|
ServiceBusinessException(java.lang.Object data,java.lang.String name)
Constructs a new ServiceBusinessException with the specified business data and a name.
|
ServiceBusinessException(java.lang.Throwable cause)
Constructs a new ServiceBusinessException with the specified cause.
|
ServiceBusinessException(java.lang.Throwable cause,java.lang.String name)
Constructs a new ServiceBusinessException with the specified cause and a name.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getData()
Returns the business data representing this business exception.
|
|
getMessage()
Returns the detail message string of this business exception.
|
|
getName()
Returns the name associated with this business exception if set else returns null.
|
|
printStackTrace(java.io.PrintStream s)
|
|
printStackTrace(java.io.PrintWriter s)
|
|
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:
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.Throwable cause,
- java.lang.String name)
Constructs a new ServiceBusinessException with the specified cause and a name.
Parameters:
cause
- The cause (which is saved to later retrieval by the getCause() method). name
- A string name for the business exception 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). ServiceBusinessException
- public ServiceBusinessException( java.lang.Object data,
- java.lang.String name)
Constructs a new ServiceBusinessException with the specified business data and a name.
Parameters:
data
- The business data representing this business exception (which is saved to later retrieval by the getData() method). name
- A string name for the business exception Method Detail
getData
- public java.lang.Object getData( )
Returns the business data representing this business exception.
Returns:
The business data.
getName
- public java.lang.String getName( )
Returns the name associated with this business exception if set else returns null.
Returns:
name.
getMessage
- public java.lang.String getMessage( )
Returns the detail message string of this business exception.
Overrides:
getMessage
in class java.lang.Throwable
Returns:
The detail message string of this business exception.
toString
- public java.lang.String toString( )
Overrides:
toString
in class java.lang.Throwable
See Also:
Throwable.toString()
printStackTrace
- public void printStackTrace(java.io.PrintStream s)
Overrides:
printStackTrace
in class java.lang.Throwable
See Also:
Throwable.printStackTrace(java.io.PrintStream)
printStackTrace
- public void printStackTrace(java.io.PrintWriter s)
Overrides:
printStackTrace
in class java.lang.Throwable
See Also:
Throwable.printStackTrace(java.io.PrintWriter)