Class DuplicateSmoothFaceException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DuplicateSmoothFaceException
    extends java.lang.Exception
    Thrown to indicate that a SmoothFace instance is not unique.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      DuplicateSmoothFaceException​(@NotNull java.lang.String face, @NotNull java.lang.String newValue, @NotNull java.lang.String oldValue)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      @NotNull java.lang.String getNewValue()
      Returns the new value.
      @NotNull java.lang.String getOldValue()
      Returns the existing value.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • DuplicateSmoothFaceException

        public DuplicateSmoothFaceException​(@NotNull
                                            @NotNull java.lang.String face,
                                            @NotNull
                                            @NotNull java.lang.String newValue,
                                            @NotNull
                                            @NotNull java.lang.String oldValue)
        Creates a new instance.
        Parameters:
        face - the duplicate smooth face
        newValue - the new value
        oldValue - the existing value
    • Method Detail

      • getOldValue

        @NotNull
        public @NotNull java.lang.String getOldValue()
        Returns the existing value.
        Returns:
        the existing value
      • getNewValue

        @NotNull
        public @NotNull java.lang.String getNewValue()
        Returns the new value.
        Returns:
        the new value