無料で使えるシステムトレードフレームワーク「Jiji」 をリリースしました!

・OANDA Trade APIを利用した、オープンソースのシステムトレードフレームワークです。
・自分だけの取引アルゴリズムで、誰でも、いますぐ、かんたんに、自動取引を開始できます。

型パラメータを受け付ける例外は作成できない。

class TestException<T> extends Exception {}

↑みたいな例外を作成しようとしてエラーに。「The Java Language Specification」を読むと8.1.2 Generic Classes and Type Parametersに記載があった。

It is a compile-time error if a generic class is a direct or indirect subclass of Throwable.

「この制約は、ジェネリックを使用しないクラスでも「try .. catch」が正しく動作するようにするために必要」とのこと。

This restriction is needed since the catch mechanism of the Java virtual machine works only with non-generic classes

ふむ。