Package net.sf.gridarta.model.anim
Class DuplicateAnimationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- net.sf.gridarta.model.anim.DuplicateAnimationException
-
- All Implemented Interfaces:
java.io.Serializable
public class DuplicateAnimationException extends java.lang.ExceptionException that's thrown in case an animation name was not unique.
-
-
Constructor Summary
Constructors Constructor Description DuplicateAnimationException(AnimationObject duplicate)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnimationObjectgetDuplicate()Returns the duplicate that caused this exception.
-
-
-
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
-
-