source: java/main/src/main/java/com/framsticks/communication/ServerSideResponseFuture.java @ 193

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 
1package com.framsticks.communication;
2
3import com.framsticks.util.FramsticksException;
4import com.framsticks.util.dispatching.FutureHandler;
5
6/**
7 * @author Piotr Sniegowski
8 */
9public 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.