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
    Exception used to indicate that a business exception occurred during the execution of a business operation.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT 
    • Constructor Summary

      Constructors 
      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

      Methods 
      Modifier and Type Method and Description
      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
    • 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)
IBM Business Process ManagerTM
Release 8