Class ObjectNotAttachedToSessionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
-
- com.redwood.scheduler.api.exception.SchedulerAPIRuntimeException
-
- com.redwood.scheduler.api.exception.ObjectNotAttachedToSessionException
-
- All Implemented Interfaces:
ExceptionData
,Serializable
@Generated("build/redwood/jbs/generated-exceptions/Exceptions.java.tmpl") public class ObjectNotAttachedToSessionException extends SchedulerAPIRuntimeException
The object is not attached to a session, and cannot be used anymore.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ObjectNotAttachedToSessionException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
ObjectNotAttachedToSessionException(Throwable cause, String objectName, long objectId)
The object is not attached to a session, and cannot be used anymore.
-
Method Summary
-
Methods inherited from class com.redwood.scheduler.infrastructure.exception.SchedulerRuntimeException
bestException, getDefaultMessageFormat, getErrorCode, getExceptionData, getLocalizedMessage, getLocalizedMessage, getMessage, getTranslation, isSystemLoggable, skipException, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Constructor Detail
-
ObjectNotAttachedToSessionException
protected ObjectNotAttachedToSessionException(String newErrorCode, String messageFormat, Throwable cause, Object[] exceptionDataEN, Object[] exceptionData)
-
ObjectNotAttachedToSessionException
public ObjectNotAttachedToSessionException(Throwable cause, String objectName, long objectId)
The object is not attached to a session, and cannot be used anymore.- Parameters:
cause
- The originating exception, null if this is the originating exceptionobjectName
- Objectname of the object being accessed or modified.objectId
- UniqueId of the object being accessed or modified.
-
-