org.jruby.exceptions
Class NameError

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.jruby.exceptions.JumpException
                  extended byorg.jruby.exceptions.RaiseException
                      extended byorg.jruby.exceptions.NameError
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoMethodError

public class NameError
extends RaiseException

Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
NameError(Ruby ruby, RubyClass exceptionClass, java.lang.String msg)
           
NameError(Ruby ruby, java.lang.String msg)
          Constructs an RubyTypeException with the specified detail message.
 
Methods inherited from class org.jruby.exceptions.RaiseException
createBacktrace, fillInStackTrace, getException, setException
 
Methods inherited from class org.jruby.exceptions.JumpException
originalFillInStackTrace
 
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
 

Constructor Detail

NameError

public NameError(Ruby ruby,
                 java.lang.String msg)
Constructs an RubyTypeException with the specified detail message.

Parameters:
msg - the detail message.

NameError

public NameError(Ruby ruby,
                 RubyClass exceptionClass,
                 java.lang.String msg)


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.