com.ibm.ccd.ui.mediator
Class WPCMediatorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.ccd.ui.mediator.WPCMediatorException
All Implemented Interfaces:
java.io.Serializable

public class WPCMediatorException
extends java.lang.Exception

Represents the exception thrown by the WPC both at system level and application level

See Also:
Serialized Form

Field Summary
static int APPLICAION_ERROR
           
static int SYSTEM_ERROR
           
 
Constructor Summary
WPCMediatorException(int type, java.lang.Throwable throwable)
          Constructs the WPC System level exception
WPCMediatorException(int type, WPCNotificationBean notificationBean)
          Constructs the WPC application level exception
 
Method Summary
 WPCNotificationBean getNotificationBean()
           
 java.lang.Throwable getThrowable()
           
 int getType()
           
 void setNotificationBean(WPCNotificationBean bean)
           
 void setThrowable(java.lang.Throwable throwable)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

APPLICAION_ERROR

public static final int APPLICAION_ERROR
See Also:
Constant Field Values

SYSTEM_ERROR

public static final int SYSTEM_ERROR
See Also:
Constant Field Values
Constructor Detail

WPCMediatorException

public WPCMediatorException(int type,
                            WPCNotificationBean notificationBean)
Constructs the WPC application level exception


WPCMediatorException

public WPCMediatorException(int type,
                            java.lang.Throwable throwable)
Constructs the WPC System level exception

Method Detail

getNotificationBean

public WPCNotificationBean getNotificationBean()

getThrowable

public java.lang.Throwable getThrowable()

getType

public int getType()

setNotificationBean

public void setNotificationBean(WPCNotificationBean bean)

setThrowable

public void setThrowable(java.lang.Throwable throwable)

setType

public void setType(int type)