Class DuplicateAnimationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DuplicateAnimationException
    extends java.lang.Exception
    Exception that's thrown in case an animation name was not unique.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AnimationObject getDuplicate()
      Returns the duplicate that caused this exception.
      • 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

      • DuplicateAnimationException

        public DuplicateAnimationException​(AnimationObject duplicate)
        Creates a new instance.
        Parameters:
        duplicate - Duplicate animation that's the cause
    • Method Detail

      • getDuplicate

        public AnimationObject getDuplicate()
        Returns the duplicate that caused this exception.
        Returns:
        duplicate