|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.websphere.sca.ServiceBusinessException
public class ServiceBusinessException
Exception used to indicate that a business exception occurred during the execution of a business operation.
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.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 | |
---|---|
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. |
java.lang.String |
getName()
Returns the name associated with this business exception if set else returns null. |
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 |
---|
public static final java.lang.String COPYRIGHT
Constructor Detail |
---|
public ServiceBusinessException(java.lang.Throwable cause)
cause
- The cause (which is saved to later retrieval by the getCause() method).public ServiceBusinessException(java.lang.Throwable cause, java.lang.String name)
cause
- The cause (which is saved to later retrieval by the getCause() method).name
- A string name for the business exceptionpublic ServiceBusinessException(java.lang.Object data)
data
- The business data representing this business exception (which is saved to later retrieval by the getData() method).public ServiceBusinessException(java.lang.Object data, java.lang.String name)
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 exceptionMethod Detail |
---|
public java.lang.Object getData()
public java.lang.String getName()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.String toString()
toString
in class java.lang.Throwable
Throwable.toString()
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
Throwable.printStackTrace(java.io.PrintStream)
public void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
Throwable.printStackTrace(java.io.PrintWriter)
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |