Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.tangosol.coherence.commonj
Class WorkManager.ScheduleWorkRejectedException

    java.lang.Object
      java.lang.Throwable
          java.lang.Exception
              java.lang.RuntimeException
                  com.tangosol.util.WrapperException
                      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

Overview | Package | Class | Tree | Index | Help

Oracle® Coherence Java API Reference
v3.5.3
E15583-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000, 2010, Oracle. All rights reserved.