Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


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:
java.io.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, java.lang.String sMsg)
          Construct the ScheduleWorkRejectedException for a given Work id with a specified detail message.
protected WorkManager.ScheduleWorkRejectedException(long lWorkId, java.lang.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, toString

 

Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace

 

Constructor Detail

WorkManager.ScheduleWorkRejectedException

protected WorkManager.ScheduleWorkRejectedException(long lWorkId,
                                                    java.lang.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,
                                                    java.lang.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

Skip navigation links

Oracle® Coherence Java API Reference
Release 3.7.0.0

E18683-01


Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.