Scalaで例外を定義 ref: http://qiita.com/mather314/items/b36a8f2832f0851d3eb7