Back to project page libgdx-chat-example.
The source code is released under:
Apache License
If you think the Android project libgdx-chat-example listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.stofkat.chat.common.exceptions; //from w w w.j a v a 2 s.c o m import org.stofkat.chat.common.actions.Action; import org.stofkat.chat.common.results.Result; public class UnsupportedActionException extends ActionException { private static final long serialVersionUID = 1L; /** * For serialization. */ UnsupportedActionException() { } @SuppressWarnings({ "unchecked" }) public UnsupportedActionException(Action<? extends Result> action) { this((Class<? extends Action<? extends Result>>) action.getClass()); } public UnsupportedActionException( Class<? extends Action<? extends Result>> actionClass) { super("No handler is registered for " + actionClass.getName()); } }