Class ObjectDetachedException

  • All Implemented Interfaces:
    Serializable

    public class ObjectDetachedException
    extends NucleusUserException
    A ObjectDetachedException is thrown if an attempt is made to use the object in a process that doesn't allow detached objects.
    See Also:
    Serialized Form
    • Constructor Detail

      • ObjectDetachedException

        public ObjectDetachedException​(String class_name)
        Constructs a class-not-detachable exception with the specified detail message.
        Parameters:
        class_name - Name of the class
      • ObjectDetachedException

        public ObjectDetachedException​(String class_name,
                                       Exception nested)
        Constructs a class-not-detachable exception with the specified detail message and nested exception.
        Parameters:
        class_name - name of the class
        nested - the nested exception(s).
      • ObjectDetachedException

        public ObjectDetachedException​(Throwable[] nested)
        Constructs a class-not-detachable exception for many objects with the specified detail message and nested exceptions.
        Parameters:
        nested - the nested exception(s).