org.jruby.runtime
Class RubyExceptions

java.lang.Object
  extended byorg.jruby.runtime.RubyExceptions
All Implemented Interfaces:
IErrno

public class RubyExceptions
extends java.lang.Object
implements IErrno


Field Summary
 
Fields inherited from interface org.jruby.IErrno
E2BIG, EACCES, EAGAIN, EBADF, EBUSY, ECHILD, EDEADLK, EDEADLOCK, EDOM, EEXIST, EFAULT, EFBIG, EILSEQ, EINTR, EINVAL, EIO, EISDIR, EMFILE, EMLINK, ENAMETOOLONG, ENFILE, ENODEV, ENOENT, ENOEXEC, ENOLCK, ENOMEM, ENOSPC, ENOSYS, ENOTDIR, ENOTEMPTY, ENOTTY, ENXIO, EPERM, EPIPE, ERANGE, EROFS, ESPIPE, ESRCH, EWOULDBLOCK, EXDEV
 
Constructor Summary
RubyExceptions(Ruby ruby)
           
 
Method Summary
 RubyClass getArgumentError()
          Gets the argumentError
 RubyClass getEOFError()
          Gets the eofError
 RubyModule getErrnoModule()
          Returns the reference to the Errno module.
 RubyClass getFatal()
          Gets the fatal
 RubyClass getIndexError()
          Gets the indexError
 RubyClass getInterrupt()
          Gets the interrupt
 RubyClass getIOError()
          Gets the ioError
 RubyClass getLoadError()
          Gets the loadError
 RubyClass getLocalJumpError()
          Returns the LocalJumpError class.
 RubyClass getNameError()
          Gets the nameError
 RubyClass getNoMemError()
          Gets the noMemError
 RubyClass getNoMethodError()
          Gets the noMethodError
 RubyClass getNotImplementedError()
          Gets the notImplementedError
 RubyClass getRangeError()
          Gets the rangeError
 RubyClass getRegexpError()
          Gets the regexpError
 RubyClass getRuntimeError()
          Gets the runtimeError
 RubyClass getScriptError()
          Gets the scriptError
 RubyClass getSecurityError()
          Gets the securityError
 RubyClass getSignalException()
          Gets the signalException
 RubyClass getStandardError()
          Gets the standardError
 RubyClass getSyntaxError()
          Gets the syntaxError
 RubyClass getSystemCallError()
          Gets the systemCallError
 RubyClass getSystemExit()
          Gets the systemExit
 RubyClass getThreadError()
           
 RubyClass getTypeError()
          Gets the typeError
 void initDefaultExceptionClasses()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RubyExceptions

public RubyExceptions(Ruby ruby)
Method Detail

initDefaultExceptionClasses

public void initDefaultExceptionClasses()

getErrnoModule

public RubyModule getErrnoModule()
Returns the reference to the Errno module.

Returns:
The Errno module.

getSystemCallError

public RubyClass getSystemCallError()
Gets the systemCallError

Returns:
Returns a RubyClass

getArgumentError

public RubyClass getArgumentError()
Gets the argumentError

Returns:
Returns a RubyClass

getFatal

public RubyClass getFatal()
Gets the fatal

Returns:
Returns a RubyClass

getIndexError

public RubyClass getIndexError()
Gets the indexError

Returns:
Returns a RubyClass

getInterrupt

public RubyClass getInterrupt()
Gets the interrupt

Returns:
Returns a RubyClass

getLoadError

public RubyClass getLoadError()
Gets the loadError

Returns:
Returns a RubyClass

getNameError

public RubyClass getNameError()
Gets the nameError

Returns:
Returns a RubyClass

getNoMemError

public RubyClass getNoMemError()
Gets the noMemError

Returns:
Returns a RubyClass

getNotImplementedError

public RubyClass getNotImplementedError()
Gets the notImplementedError

Returns:
Returns a RubyClass

getNoMethodError

public RubyClass getNoMethodError()
Gets the noMethodError

Returns:
Returns a RubyClass

getRangeError

public RubyClass getRangeError()
Gets the rangeError

Returns:
Returns a RubyClass

getRuntimeError

public RubyClass getRuntimeError()
Gets the runtimeError

Returns:
Returns a RubyClass

getScriptError

public RubyClass getScriptError()
Gets the scriptError

Returns:
Returns a RubyClass

getSecurityError

public RubyClass getSecurityError()
Gets the securityError

Returns:
Returns a RubyClass

getSignalException

public RubyClass getSignalException()
Gets the signalException

Returns:
Returns a RubyClass

getStandardError

public RubyClass getStandardError()
Gets the standardError

Returns:
Returns a RubyClass

getSyntaxError

public RubyClass getSyntaxError()
Gets the syntaxError

Returns:
Returns a RubyClass

getSystemExit

public RubyClass getSystemExit()
Gets the systemExit

Returns:
Returns a RubyClass

getTypeError

public RubyClass getTypeError()
Gets the typeError

Returns:
Returns a RubyClass

getRegexpError

public RubyClass getRegexpError()
Gets the regexpError

Returns:
Returns a RubyClass

getIOError

public RubyClass getIOError()
Gets the ioError

Returns:
Returns a RubyClass

getEOFError

public RubyClass getEOFError()
Gets the eofError

Returns:
Returns a RubyClass

getLocalJumpError

public RubyClass getLocalJumpError()
Returns the LocalJumpError class.

Returns:
Returns a RubyClass

getThreadError

public RubyClass getThreadError()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.