Last change
on this file since 193 was
193,
checked in by Maciej Komosinski, 10 years ago
|
Set svn:eol-style native for all textual files
|
-
Property svn:eol-style set to
native
|
File size:
416 bytes
|
Line | |
---|
1 | package com.framsticks.communication; |
---|
2 | |
---|
3 | import com.framsticks.util.FramsticksException; |
---|
4 | import com.framsticks.util.dispatching.FutureHandler; |
---|
5 | |
---|
6 | /** |
---|
7 | * @author Piotr Sniegowski |
---|
8 | */ |
---|
9 | public abstract class ServerSideResponseFuture extends FutureHandler<Response> { |
---|
10 | |
---|
11 | @Override |
---|
12 | public final void handle(FramsticksException e) { |
---|
13 | result(new Response(false, e.getClass().getCanonicalName() + ": " + e.getMessage())); |
---|
14 | } |
---|
15 | |
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.