code: public void loadClassifierNoExceptions(InputStream in, Properties props) {
      // load the classifier
      try {
        loadClassifier(in, props);
      } catch (Exception e) {
        throw new RuntimeException(e);
      }
  
    }
docs: Loads a classifier from the given input stream. The JVM shuts down
  (System.exit(1)) if there is an exception. This does not close the
  InputStream.
  
  @param in
  The InputStream to read from