[ https://issues.apache.org/jira/browse/SYSTEMML-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227059#comment-15227059 ]
Deron Eriksson edited comment on SYSTEMML-616 at 4/5/16 8:25 PM: ----------------------------------------------------------------- Here is a hierarchy of SystemML exceptions: {code} Throwable ┗ Exception ┣ DMLException (323 matches) ┃ ┣ AppException (not used) ┃ ┣ DMLDebuggerException (13 matches) ┃ ┣ DMLRuntimeException (3,689 matches) ┃ ┃ ┣ CacheException (82 matches) ┃ ┃ ┃ ┣ CacheIOException (26 matches) ┃ ┃ ┃ ┗ CacheStatusException (18 matches) ┃ ┃ ┗ DMLScriptException (39 matches) ┃ ┣ DMLUnsupportedOperationException (1,068 matches) ┃ ┣ HopsException (748 matches) ┃ ┣ LanguageException (390 matches) ┃ ┗ LopsException (596 matches) ┣ ParseException (320 matches) ┃ ┗ DMLParseException (50 matches) ┗ RuntimeException ┗ PackageRuntimeException (70 matches) {code} was (Author: deron): Here is a hierarchy of SystemML exceptions: {code} Throwable ┗ Exception ┣ DMLException (323 matches) ┃ ┣ AppException (not used) ┃ ┣ DMLDebuggerException (13 matches) ┃ ┣ DMLRuntimeException (3,689 matches) ┃ ┃ ┣ CacheException (82 matches) ┃ ┃ ┃ ┣ CacheIOException (26 matches) ┃ ┃ ┃ ┗ CacheStatusException (18 matches) ┃ ┃ ┗ DMLScriptException (39 matches) ┃ ┣ DMLUnsupportedOperationException (1,068 matches) ┃ ┣ HopsException (748 matches) ┃ ┣ LanguageException (390 matches) ┃ ┗ LopsException (596 matches) ┣ ParseException (320 matches) ┃ ┗ DMLParseException (50 matches) ┗ RuntimeException ┗ PackageRuntimeException (70 matches) {code} > Cleanup exception handling apis/compiler/runtime > ------------------------------------------------ > > Key: SYSTEMML-616 > URL: https://issues.apache.org/jira/browse/SYSTEMML-616 > Project: SystemML > Issue Type: Improvement > Components: APIs, Compiler, Runtime > Reporter: Matthias Boehm > Assignee: Matthias Boehm > > 1) Remove unnecessary exceptions (e.g., various subclasses of CacheException, > DMLUnsupportedOperationException, AppException) > 2) Fuse unnecessary deep exception hierarchies (e.g., DMLParseException) > 3) Reinvestigation uncaught vs caught exceptions -- This message was sent by Atlassian JIRA (v6.3.4#6332)