Class JRubyScriptUtils.JRubyExecutionException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- 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 JRubyRaiseException
being thrown from a JRuby method invocation.- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description JRubyExecutionException(org.jruby.exceptions.RaiseException ex)
Create a newJRubyException
, wrapping the given JRubyRaiseException
.
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
JRubyExecutionException
public JRubyExecutionException(org.jruby.exceptions.RaiseException ex)
Create a newJRubyException
, wrapping the given JRubyRaiseException
.- Parameters:
ex
- the cause (must not benull
)