Java Experts Take Note:
Calling M.error(<string>) is intended to make things easier for those new to Java. It is very similar to throwing new MidasException(<string>). Those familiar with Java should throw the exception, as that enables the normal Java code-path checking.