de.unkrig.commons.lang.protocol
Interface RunnableWhichThrows<EX extends java.lang.Exception>

Type Parameters:
EX - The throwable type that run() may throw
All Known Implementing Classes:
FtpReverseProxy, FtpServer, FtpSession, Httpd, HttpProxy, HttpServer, Multiplexer, ReverseProxy, TcpServer, WyeConsumer

public interface RunnableWhichThrows<EX extends java.lang.Exception>

Like Runnable, but run() is permitted to throw exception EX.

IMPORTANT NOTICE:

When using this type in a variable, parameter or field declaration, never write
RunnableWhichThrows<thrown-exception>
, but always
RunnableWhichThrows<? extends thrown-exception>
.


Method Summary
 void run()
          "To run" an instance means to call this method and wait until it returns.
 

Method Detail

run

void run()
         throws EX extends java.lang.Exception
"To run" an instance means to call this method and wait until it returns.

Throws:
EX extends java.lang.Exception