org.jruby.exceptions
Class RaiseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jruby.exceptions.JumpException
org.jruby.exceptions.RaiseException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ArgumentError, EOFError, ErrnoError, FrozenError, IndexError, IOError, LoadError, NameError, NotImplementedError, RangeError, RegexpError, SecurityError, SystemCallError, SystemExit, ThreadError, TypeError
- public class RaiseException
- extends JumpException
- Version:
- $Revision: 1.4 $
- Author:
- jpetersen
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RaiseException
public RaiseException(RubyException actException)
RaiseException
public RaiseException(Ruby ruby,
RubyClass excptnClass,
java.lang.String msg)
RaiseException
public RaiseException(Ruby ruby,
java.lang.String excptnClassName,
java.lang.String msg)
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- Description copied from class:
JumpException
- This method don't do anything for performance reasons.
- Overrides:
fillInStackTrace
in class JumpException
- See Also:
Throwable.fillInStackTrace()
createBacktrace
public static RubyArray createBacktrace(Ruby ruby,
int level)
- Create an Array with backtrace information.
MRI: eval.c - backtrace
getException
public RubyException getException()
- Gets the exception
- Returns:
- Returns a RubyException
setException
protected void setException(RubyException newException)
- Sets the exception
- Parameters:
newException
- The exception to set
Copyright © 2002 Jan Arne Petersen. All Rights Reserved.