is is more appropriate than == in D.
JavaThrowable should actually be throwable.

Replace != with !is