Package 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:
Serializable
- Enclosing class:
- WorkManager
protected static class WorkManager.ScheduleWorkRejectedException extends WrapperException
The ScheduleWorkRejectedException is a WrapperException that carries the information about the rejected Work.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ScheduleWorkRejectedException(long lWorkId, String sMsg)
Construct the ScheduleWorkRejectedException for a given Work id with a specified detail message.protected
ScheduleWorkRejectedException(long lWorkId, Throwable eReason)
Construct the ScheduleWorkRejectedException for a given Work id and the original cause exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getWorkId()
Return a rejected Work id.-
Methods inherited from class com.tangosol.util.WrapperException
ensure, ensure, getLocalizedMessage, getMessage, getOriginalException, getRootCause, getWrapper, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ScheduleWorkRejectedException
protected ScheduleWorkRejectedException(long lWorkId, Throwable eReason)
Construct the ScheduleWorkRejectedException for a given Work id and the original cause exception.- Parameters:
lWorkId
- the Work ideReason
- the actual cause exception
-
ScheduleWorkRejectedException
protected ScheduleWorkRejectedException(long lWorkId, String sMsg)
Construct the ScheduleWorkRejectedException for a given Work id with a specified detail message.- Parameters:
lWorkId
- the Work idsMsg
- the additional description
-
-