Skip to content

Commit

Permalink
エラーメッセージの間違いを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
oguna committed Jan 22, 2017
1 parent 75dd1e5 commit ce66851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pycasl2/src/main/java/pycasl2/PyCasl2.java
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ private ByteCode[] assemble(File file) throws IOException {
} catch (Error e) {
throw new RuntimeException(e.getMessage());
} catch (Exception e) {
throw new RuntimeException("Error: Unexpected error.\nError: Unexpected error.\nException type:" + e.getClass() + "\n" + e.toString());
throw new RuntimeException("Error: Unexpected error.\nException type:" + e.getClass() + "\n" + e.toString());
} finally {
fp.close();
}
Expand All @@ -98,7 +98,7 @@ private ByteCode[] assemble(File file) throws IOException {
} catch (Error e) {
throw new RuntimeException(e.getMessage());
} catch (Exception e) {
throw new RuntimeException("Error: Unexpected error.\nError: Unexpected error.\nException type:" + e.getClass() + "\n" + e.toString());
throw new RuntimeException("Error: Unexpected error.\nException type:" + e.getClass() + "\n" + e.toString());
}

codeList.addAll(this.additionalDC);
Expand Down

0 comments on commit ce66851

Please sign in to comment.