jxgrabkey
Class HotkeyConflictException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by jxgrabkey.HotkeyConflictException
All Implemented Interfaces:
Serializable

public class HotkeyConflictException
extends Exception

This Exception is thrown when another application already registered a hotkey which JXGrabKey tried to register for itself. X11 hotkeys can only be registered by one application at a time. Because JXGrabKey registers the same hotkey with different combinations of offending masks like scrolllock, numlock and capslock, any of those registrations can be the cause of the conflict. It is best to unregister the hotkey after receiving this exception. Otherwise the hotkey may not work at all, or may not work with all mask combinations.

See Also:
Serialized Form

Constructor Summary
HotkeyConflictException()
           
HotkeyConflictException(String message)
           
HotkeyConflictException(String message, Throwable cause)
           
HotkeyConflictException(Throwable cause)
           
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

HotkeyConflictException

public HotkeyConflictException()

HotkeyConflictException

public HotkeyConflictException(String message)

HotkeyConflictException

public HotkeyConflictException(String message,
                               Throwable cause)

HotkeyConflictException

public HotkeyConflictException(Throwable cause)