CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation

com.tangosol.coherence.commonj
Class WorkManager.ScheduleWorkRejectedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.tangosol.util.WrapperException
                  extended by com.tangosol.coherence.commonj.WorkManager.ScheduleWorkRejectedException
All Implemented Interfaces:
Serializable
Enclosing class:
WorkManager

protected static class WorkManager.ScheduleWorkRejectedException
extends WrapperException

The ScheduleWorkRejectedException is a WrapperException that carries the information about the rejected Work.


Constructor Summary
protected WorkManager.ScheduleWorkRejectedException(long lWorkId, String sMsg)
          Construct the ScheduleWorkRejectedException for a given Work id with a specified detail message.
protected WorkManager.ScheduleWorkRejectedException(long lWorkId, Throwable eReason)
          Construct the ScheduleWorkRejectedException for a given Work id and the original cause exception.
 
Method Summary
 long getWorkId()
          Return a rejected Work id.
 
Methods inherited from class com.tangosol.util.WrapperException
getLocalizedMessage, getMessage, getOriginalException, getWrapper, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, setStackTrace
 

Constructor Detail

WorkManager.ScheduleWorkRejectedException

protected WorkManager.ScheduleWorkRejectedException(long lWorkId,
                                                    Throwable eReason)
Construct the ScheduleWorkRejectedException for a given Work id and the original cause exception.

Parameters:
lWorkId - the Work id
eReason - the actual cause exception

WorkManager.ScheduleWorkRejectedException

protected WorkManager.ScheduleWorkRejectedException(long lWorkId,
                                                    String sMsg)
Construct the ScheduleWorkRejectedException for a given Work id with a specified detail message.

Parameters:
lWorkId - the Work id
sMsg - the additional description
Method Detail

getWorkId

public long getWorkId()
Return a rejected Work id.

Returns:
a rejected Work id

CoherenceTM v3.3
Copyright© 2000-2007 by Oracle Corporation