Package org.jruby.truffle.runtime.core

Examples of org.jruby.truffle.runtime.core.RubyException


    public <T> T handlingTopLevelRaise(Supplier<T> run, T defaultValue) {
        try {
            return run.get();
        } catch (RaiseException e) {
            // TODO(CS): what's this cast about?
            final RubyException rubyException = (RubyException) e.getRubyException();

            for (String line : Backtrace.DISPLAY_FORMATTER.format(this, rubyException, rubyException.getBacktrace())) {
                System.err.println(line);
            }
        } catch (ThreadExitException e) {
            // Ignore
        }
View Full Code Here

TOP

Related Classes of org.jruby.truffle.runtime.core.RubyException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.