Class AnimationException

All Implemented Interfaces:
Serializable

public class AnimationException extends RuntimeException
An exception class for SMIL animation exceptions.
Version:
$Id: AnimationException.java 1733416 2016-03-03 07:07:13Z gadams $
See Also:
  • Field Details

    • e

      protected TimedElement e
      The timed element on which the error occurred.
    • code

      protected String code
      The error code.
    • params

      protected Object[] params
      The parameters to use for the error message.
    • message

      protected String message
      The message.
  • Constructor Details

    • AnimationException

      public AnimationException(TimedElement e, String code, Object[] params)
      Creates a new AnimationException.
      Parameters:
      e - the animation element on which the error occurred
      code - the error code
      params - the parameters to use for the error message
  • Method Details

    • getElement

      public TimedElement getElement()
      Returns the timed element that caused this animation exception.
    • getCode

      public String getCode()
      Returns the error code.
    • getParams

      public Object[] getParams()
      Returns the error message parameters.
    • getMessage

      public String getMessage()
      Returns the error message according to the error code and parameters.
      Overrides:
      getMessage in class Throwable