package ru.aatarasoff.thrift.api.gateway.core;

import org.apache.thrift.TBase;

/**
 * Created by aleksandr on 09.07.15.
 */
public interface AuthTokenExchanger<T extends TBase, U extends  TBase> {
    T createEmptyAuthToken();

    U process(T authToken);
}

@@ -72,16 +72,53 @@
 t.TBase;
+%0Aimport org.apache.thrift.TException;
 %0A%0A/**%0A *
@@ -286,12 +286,30 @@
 thToken)
+ throws TException
 ;%0A%7D%0A

add exception throw to auth token exchanger interface