Class Menu.CollisionException

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Menu

    public class Menu.CollisionException
    extends java.lang.RuntimeException
    Thrown if two options have the same shortcut.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Option getNewOption()  
      Option getOldOption()  
      • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getOldOption

        public Option getOldOption()
      • getNewOption

        public Option getNewOption()