Class ObjectNotFromSameSessionException

    • Constructor Detail

      • ObjectNotFromSameSessionException

        protected ObjectNotFromSameSessionException​(String newErrorCode,
                                                    String messageFormat,
                                                    Throwable cause,
                                                    Object[] exceptionDataEN,
                                                    Object[] exceptionData)
      • ObjectNotFromSameSessionException

        public ObjectNotFromSameSessionException​(Throwable cause,
                                                 String sourceObjectName,
                                                 String property,
                                                 String destinationObjectName)
        The object used for assignment is not from the same session as the object it is being assigned to
        Parameters:
        cause - The originating exception, null if this is the originating exception
        sourceObjectName - Objectname of the object being assigned
        property - Name of the property the object is assigned to
        destinationObjectName - Objectname of the object that it is being assigned to