org.jruby.exceptions
Class IOError

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.IOError
All Implemented Interfaces:
java.io.Serializable

public class IOError
extends RaiseException

Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
IOError(Ruby ruby, java.lang.String msg)
          Constructs an RubyTypeException with the specified detail message.
 
Method Summary
static java.lang.RuntimeException fromException(Ruby ruby, java.io.IOException exception)
           
 
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

IOError

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

Parameters:
msg - the detail message.
Method Detail

fromException

public static java.lang.RuntimeException fromException(Ruby ruby,
                                                       java.io.IOException exception)


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.