Class ObjectNotAttachedToSessionException

    • 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 exception
        objectName - Objectname of the object being accessed or modified.
        objectId - UniqueId of the object being accessed or modified.