站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Spring Framework 2.0.5 API 文档英文版

JRubyScriptUtils.JRubyExecutionException (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版

The Spring Framework

org.springframework.scripting.jruby
Class JRubyScriptUtils.JRubyExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.core.NestedRuntimeException
                  extended by org.springframework.scripting.jruby.JRubyScriptUtils.JRubyExecutionException
All Implemented Interfaces:
Serializable
Enclosing class:
JRubyScriptUtils

public static class JRubyScriptUtils.JRubyExecutionException
extends NestedRuntimeException

Exception thrown in response to a JRuby RaiseException being thrown from a JRuby method invocation.

Introduced because the RaiseException class does not have useful Object.toString(), Throwable.getMessage(), and Throwable.printStackTrace() implementations.

See Also:
Serialized Form

Constructor Summary
JRubyScriptUtils.JRubyExecutionException(org.jruby.exceptions.RaiseException ex)
          Create a new JRubyException, wrapping the given JRuby RaiseException.
 
Method Summary
 
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getCause, getMessage, getMostSpecificCause, getRootCause, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JRubyScriptUtils.JRubyExecutionException

public JRubyScriptUtils.JRubyExecutionException(org.jruby.exceptions.RaiseException ex)
Create a new JRubyException, wrapping the given JRuby RaiseException.

Parameters:
ex - the cause (must not be null)

The Spring Framework

Copyright © 2002-2007 The Spring Framework.