Class EntityExistsException

  • All Implemented Interfaces:
    java.io.Serializable, ExceptionInfo

    public class EntityExistsException
    extends jakarta.persistence.EntityExistsException
    implements java.io.Serializable, ExceptionInfo
    Conflict with existing entity.
    Since:
    0.4.0
    Author:
    Abe White
    See Also:
    Serialized Form
    • Constructor Detail

      • EntityExistsException

        public EntityExistsException​(java.lang.String msg,
                                     java.lang.Throwable[] nested,
                                     java.lang.Object failed,
                                     boolean fatal)
    • Method Detail

      • isFatal

        public boolean isFatal()
        Description copied from interface: ExceptionInfo
        Whether this error is fatal.
        Specified by:
        isFatal in interface ExceptionInfo
      • getCause

        public java.lang.Throwable getCause()
        Description copied from interface: ExceptionInfo
        Returns the first Throwable from ExceptionInfo.getNestedThrowables() in order to conform to Throwable.getCause() in Java 1.4+.
        Specified by:
        getCause in interface ExceptionInfo
        Overrides:
        getCause in class java.lang.Throwable
        See Also:
        Throwable.getCause()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace()
        Description copied from interface: ExceptionInfo
        Stack.
        Specified by:
        printStackTrace in interface ExceptionInfo
        Overrides:
        printStackTrace in class java.lang.Throwable
        See Also:
        Throwable.printStackTrace()
      • printStackTrace

        public void printStackTrace​(java.io.PrintStream out)
        Overrides:
        printStackTrace in class java.lang.Throwable
      • printStackTrace

        public void printStackTrace​(java.io.PrintWriter out)
        Overrides:
        printStackTrace in class java.lang.Throwable