Uses of Class
org.jruby.exceptions.RaiseException
Packages that use RaiseException
Package
Description
-
Uses of RaiseException in org.jruby
Subclasses of RaiseException in org.jrubyModifier and TypeClassDescriptionstatic class
Represents a Ruby IO::TimeoutErrorError as a throwable Java exception.Methods in org.jruby that return RaiseExceptionModifier and TypeMethodDescriptionprotected RaiseException
RubyArgumentError.constructThrowable
(String message) protected RaiseException
RubyConcurrencyError.constructThrowable
(String message) protected RaiseException
RubyDomainError.constructThrowable
(String message) protected RaiseException
RubyEncodingError.constructThrowable
(String message) protected RaiseException
RubyEncodingError.RubyCompatibilityError.constructThrowable
(String message) protected RaiseException
RubyEncodingError.RubyConverterNotFoundError.constructThrowable
(String message) protected RaiseException
RubyEncodingError.RubyInvalidByteSequenceError.constructThrowable
(String message) protected RaiseException
RubyEncodingError.RubyUndefinedConversionError.constructThrowable
(String message) protected RaiseException
RubyEOFError.constructThrowable
(String message) protected RaiseException
RubyException.constructThrowable
(String message) protected RaiseException
RubyFatal.constructThrowable
(String message) protected RaiseException
RubyFiberError.constructThrowable
(String message) protected RaiseException
RubyFloatDomainError.constructThrowable
(String message) protected RaiseException
RubyFrozenError.constructThrowable
(String message) protected RaiseException
RubyIndexError.constructThrowable
(String message) protected RaiseException
RubyInterrupt.constructThrowable
(String message) protected RaiseException
RubyInterruptedRegexpError.constructThrowable
(String message) protected RaiseException
RubyIOError.constructThrowable
(String message) protected RaiseException
RubyKeyError.constructThrowable
(String message) protected RaiseException
RubyLoadError.constructThrowable
(String message) protected RaiseException
RubyLocalJumpError.constructThrowable
(String message) protected RaiseException
RubyNameError.constructThrowable
(String message) protected RaiseException
RubyNoMatchingPatternError.constructThrowable
(String message) protected RaiseException
RubyNoMatchingPatternKeyError.constructThrowable
(String message) protected RaiseException
RubyNoMemoryError.constructThrowable
(String message) protected RaiseException
RubyNoMethodError.constructThrowable
(String message) protected RaiseException
RubyNotImplementedError.constructThrowable
(String message) protected RaiseException
RubyRangeError.constructThrowable
(String message) protected RaiseException
RubyRegexpError.constructThrowable
(String message) protected RaiseException
RubyRuntimeError.constructThrowable
(String message) protected RaiseException
RubyScriptError.constructThrowable
(String message) protected RaiseException
RubySecurityError.constructThrowable
(String message) protected RaiseException
RubySignalException.constructThrowable
(String message) protected RaiseException
RubyStandardError.constructThrowable
(String message) protected RaiseException
RubyStopIteration.constructThrowable
(String message) protected RaiseException
RubySyntaxError.constructThrowable
(String message) protected RaiseException
RubySystemCallError.constructThrowable
(String message) protected RaiseException
RubySystemExit.constructThrowable
(String message) protected RaiseException
RubySystemStackError.constructThrowable
(String message) protected RaiseException
RubyThreadError.constructThrowable
(String message) protected RaiseException
RubyTypeError.constructThrowable
(String message) protected RaiseException
RubyUncaughtThrowError.constructThrowable
(String message) protected RaiseException
RubyZeroDivisionError.constructThrowable
(String message) static RaiseException
RubyTime.invalidUTCOffset
(Ruby runtime) Deprecated.static RaiseException
RubyTime.invalidUTCOffset
(Ruby runtime, IRubyObject value) Deprecated.UseRubyTime.invalidUTCOffset(ThreadContext)
insteadstatic RaiseException
RubyTime.invalidUTCOffset
(ThreadContext context) static RaiseException
RubyTime.invalidUTCOffset
(ThreadContext context, IRubyObject value) Ruby.newArgumentError
(int got, int expected) Deprecated.UseError.argumentError(ThreadContext, int, int)
instead.Ruby.newArgumentError
(int got, int min, int max) Ruby.newArgumentError
(String message) Ruby.newArgumentError
(String name, int got, int expected) Deprecated.Ruby.newArgumentError
(String name, int got, int min, int max) Deprecated.Ruby.newBufferAccessError
(String message) Ruby.newBufferAllocationError
(String message) Ruby.newBufferInvalidatedError
(String message) Ruby.newBufferLockedError
(String message) Ruby.newBufferMaskError
(String message) Ruby.newConcurrencyError
(String message) Ruby.newConverterNotFoundError
(String message) Ruby.newEncodingCompatibilityError
(String message) Ruby.newEncodingError
(String message) Ruby.newEOFError()
Ruby.newEOFError
(String message) Ruby.newErrnoEACCESError
(String message) Deprecated.Ruby.newErrnoEADDRFromBindException
(BindException be, String contextMessage) Ruby.newErrnoEADDRINUSEError()
Ruby.newErrnoEADDRINUSEError
(String message) Ruby.newErrnoEADDRNOTAVAILError
(String message) Ruby.newErrnoEAFNOSUPPORTError
(String message) Ruby.newErrnoEAGAINError
(String message) Ruby.newErrnoEAGAINReadableError
(String message) Ruby.newErrnoEAGAINWritableError
(String message) Ruby.newErrnoEBADFError()
Ruby.newErrnoEBADFError
(String message) Ruby.newErrnoECHILDError()
Ruby.newErrnoECONNABORTEDError()
Ruby.newErrnoECONNREFUSEDError()
Ruby.newErrnoECONNREFUSEDError
(String message) Ruby.newErrnoECONNRESETError()
Ruby.newErrnoEDESTADDRREQError
(String func) Ruby.newErrnoEDOMError()
Ruby.newErrnoEDOMError
(String message) Ruby.newErrnoEEXISTError
(String message) Ruby.newErrnoEHOSTUNREACHError
(String message) Ruby.newErrnoEINPROGRESSError()
Ruby.newErrnoEINPROGRESSError
(String message) Ruby.newErrnoEINPROGRESSWritableError
(String message) Ruby.newErrnoEINTRError()
Ruby.newErrnoEINVALError()
Ruby.newErrnoEINVALError
(String message) Ruby.newErrnoEISCONNError()
Ruby.newErrnoEISCONNError
(String message) Ruby.newErrnoEISDirError()
Ruby.newErrnoEISDirError
(String message) Ruby.newErrnoELOOPError()
Ruby.newErrnoEMFILEError()
Ruby.newErrnoEMSGSIZEError()
Ruby.newErrnoENETUNREACHError()
Ruby.newErrnoENFILEError()
Ruby.newErrnoENOENTError()
Ruby.newErrnoENOENTError
(String message) Ruby.newErrnoENOPROTOOPTError()
Ruby.newErrnoENOTCONNError()
Ruby.newErrnoENOTCONNError
(String message) Ruby.newErrnoENOTDIRError
(String message) Ruby.newErrnoENOTEMPTYError
(String message) Ruby.newErrnoENOTSOCKError
(String message) Ruby.newErrnoEOPNOTSUPPError
(String message) Ruby.newErrnoEPERMError
(String name) Ruby.newErrnoEPIPEError()
Ruby.newErrnoESPIPEError()
Ruby.newErrnoESPIPEError
(String message) Ruby.newErrnoESRCHError()
Ruby.newErrnoETIMEDOUTError()
Ruby.newErrnoEWOULDBLOCKError()
Ruby.newErrnoEXDEVError
(String message) Ruby.newErrnoFromBindException
(BindException be, String contextMessage) Ruby.newErrnoFromErrno
(jnr.constants.platform.Errno errno, String message) Ruby.newErrnoFromInt
(int errno) Ruby.newErrnoFromInt
(int errno, String message) Ruby.newErrnoFromInt
(int errno, String methodName, String message) Ruby.newErrnoFromLastPOSIXErrno()
Ruby.newFiberError
(String message) Ruby.newFloatDomainError
(String message) Ruby.newFrozenError
(String objectType) Deprecated.Ruby.newFrozenError
(String objectType, boolean runtimeError) Deprecated.Ruby.newFrozenError
(String objectType, IRubyObject receiver) Ruby.newFrozenError
(RubyModule type) Deprecated.Ruby.newFrozenError
(IRubyObject receiver) Ruby.newFrozenError
(IRubyObject receiver, String message) Deprecated.Ruby.newIllegalSequence
(String message) Deprecated.Ruby.newIndexError
(String message) Ruby.newInterruptedRegexpError
(String message) Ruby.newInvalidByteSequenceError
(String message) Ruby.newInvalidEncoding
(String message) Deprecated.Ruby.newIOError
(String message) Prepare a throwable IOError with the given message.Ruby.newIOErrorFromException
(IOException ex) Java does not give us enough information for specific error conditions so we are reduced to divining them through string matches...Ruby.newKeyError
(String message, IRubyObject recv, IRubyObject key) Ruby.newLoadError
(String message) Ruby.newLoadError
(String message, String path) Ruby.newLocalJumpError
(RubyLocalJumpError.Reason reason, IRubyObject exitValue, String message) Ruby.newLocalJumpErrorNoBlock()
Ruby.newMathDomainError
(String message) Ruby.newNameError
(String message, String name) Deprecated.Ruby.newNameError
(String message, String name, Throwable origException) Deprecated.Ruby.newNameError
(String message, String name, Throwable exception, boolean printWhenVerbose) Construct a NameError with the given pre-formatted message, name, and optional original exception.Ruby.newNameError
(String message, IRubyObject name) Deprecated.Ruby.newNameError
(String message, IRubyObject recv, String name) Construct a NameError that formats its message with an sprintf format string.Ruby.newNameError
(String message, IRubyObject recv, String name, boolean privateCall) Construct a NameError that formats its message with an sprintf format string and has private_call? set to given.Ruby.newNameError
(String message, IRubyObject name, Throwable exception, boolean printWhenVerbose) Ruby.newNameError
(String message, IRubyObject recv, IRubyObject name) Ruby.newNameError
(String message, IRubyObject recv, IRubyObject name, boolean privateCall) Construct a NameError that formats its message with an sprintf format string.Ruby.newNoMethodError
(String message, String name, IRubyObject args) Construct a NoMethodError with a pre-formatted message.Ruby.newNoMethodError
(String message, IRubyObject recv, String name, RubyArray args) Ruby.newNoMethodError
(String message, IRubyObject recv, String name, RubyArray args, boolean privateCall) Construct a NoMethodError that formats its message with an sprintf format string.Ruby.newNotImplementedError
(String message) Ruby.newRaiseException
(RubyClass exceptionClass, String message) Construct a new RaiseException wrapping a new Ruby exception object appropriate to the given exception class.Ruby.newRangeError
(String message) Ruby.newRedoLocalJumpError()
Ruby.newRegexpError
(String message) Ruby.newRuntimeError
(String message) Ruby.newSecurityError
(String message) Ruby.newStandardError
(String message) Ruby.newStopIteration
(IRubyObject result, String message) Generate a StopIteration exception.Ruby.newSyntaxError
(String message) Ruby.newSyntaxError
(String message, String path) Ruby.newSystemCallError
(String message) Ruby.newSystemExit
(int status) Ruby.newSystemExit
(int status, String message) Ruby.newSystemStackError
(String message) Ruby.newSystemStackError
(String message, StackOverflowError error) Ruby.newThreadError
(String message) Ruby.newTypeError
(String message) Deprecated.Ruby.newTypeError
(IRubyObject receivedObject, String expectedType) Deprecated.Ruby.newTypeError
(IRubyObject receivedObject, RubyClass expectedType) Deprecated.Ruby.newTypeError
(IRubyObject receivedObject, RubyModule expectedType) Deprecated.Ruby.newUndefinedConversionError
(String message) Ruby.newZeroDivisionError()
RubyException.toThrowable()
Get a throwable suitable for throwing in Java.Methods in org.jruby with parameters of type RaiseExceptionModifier and TypeMethodDescriptionvoid
RubyThread.exceptionRaised
(RaiseException exception) protected static int
Main.handleRaiseException
(RaiseException ex) This is only used from the main(String[]) path, in which case the err for this run should be System.err.Methods in org.jruby that throw RaiseExceptionModifier and TypeMethodDescriptionprotected void
RubyModule.checkForCyclicPrepend
(ThreadContext context, RubyModule m) void
RubyModule.checkValidBindTargetFrom
(ThreadContext context, RubyModule originModule, boolean fromBind) -
Uses of RaiseException in org.jruby.api
Methods in org.jruby.api that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseException
Error.floatDomainError
(ThreadContext context, String message) static RaiseException
Error.frozenError
(ThreadContext context, IRubyObject object, String message) Create a frozen error with a simple ASCII String.static RaiseException
Error.indexError
(ThreadContext context, String message) Create an index error with a simple ASCII String.static RaiseException
Error.nameError
(ThreadContext context, String message, String name) Create a name error with a simple ASCII String and the failing name.static RaiseException
Error.nameError
(ThreadContext context, String message, String name, Throwable throwable) Create a name error with a simple ASCII String and the failing name.static RaiseException
Error.nameError
(ThreadContext context, String message, IRubyObject name) Create a name error with a simple ASCII String and the failing name.static RaiseException
Error.rangeError
(ThreadContext context, String message) Create a range error with a simple ASCII String.static RaiseException
MRI.rb_econv_open_exc
(ThreadContext context, byte[] sourceEncoding, byte[] destinationEncoding, int ecflags) static RaiseException
Error.runtimeError
(ThreadContext context, String message) Create a runtime error with a simple ASCII String.static RaiseException
Error.withException
(RaiseException error, Exception exception) Attach an exception to an error.Rstatic RaiseException
Error.zeroDivisionError
(ThreadContext context) Create a TypeError with the given message.Methods in org.jruby.api with parameters of type RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseException
Error.withException
(RaiseException error, Exception exception) Attach an exception to an error.R -
Uses of RaiseException in org.jruby.exceptions
Subclasses of RaiseException in org.jruby.exceptionsModifier and TypeClassDescriptionclass
Represents a Ruby ArgumentError as a throwable Java exception.class
Represents a Ruby ConcurrencyError as a throwable Java exception.class
Represents a Ruby DomainError as a throwable Java exception.class
Represents a Ruby EncodingError as a throwable Java exception.static class
Represents a Ruby CompatibilityError as a throwable Java exception.static class
Represents a Ruby ConverterNotFoundError as a throwable Java exception.static class
Represents a Ruby InvalidByteSequenceError as a throwable Java exception.static class
Represents a Ruby UndefinedConversionError as a throwable Java exception.class
Represents a Ruby EOFError as a throwable Java exception.class
Represents a Ruby Exception as a throwable Java exception.class
Represents a RubyFatal as a throwable Java exception.class
Represents a Ruby FiberError as a throwable Java exception.class
Represents a Ruby FloatDomainError as a throwable Java exception.class
Represents a Ruby FrozenError as a throwable Java exception.class
Represents a Ruby IndexError as a throwable Java exception.class
Represents a Ruby Interrupt as a throwable Java exception.class
Represents a Ruby InterruptedRegexpError as a throwable Java exception.class
Represents a Ruby IOError as a throwable Java exception.class
Represents a Ruby KeyError as a throwable Java exception.class
Represents a Ruby LoadError as a throwable Java exception.class
Represents a Ruby LocalJumpError as a throwable Java exception.class
Represents a Ruby NameError as a throwable Java exception.class
Represents a Ruby ArgumentError as a throwable Java exception.class
Represents a Ruby ArgumentError as a throwable Java exception.class
Represents a Ruby NoMemoryError as a throwable Java exception.class
Represents a Ruby NoMethodError as a throwable Java exception.class
Represents a Ruby NotImplementedError as a throwable Java exception.class
Represents a Ruby RangeError as a throwable Java exception.class
Represents a Ruby RegexpError as a throwable Java exception.class
Represents a Ruby RuntimeError as a throwable Java exception.class
class
Represents a Ruby SecurityError as a throwable Java exception.class
Represents a Ruby SignalException as a throwable Java exception.class
Represents a RubyStandardError as a throwable Java exception.class
Represents a Ruby StopIteration as a throwable Java exception.class
Represents a Ruby SyntaxError as a throwable Java exception.class
Represents a Ruby SystemCallError as a throwable Java exception.class
Represents a RubySystemExit as a throwable Java exception.class
class
Represents a Ruby ThreadError as a throwable Java exception.class
Represents a Ruby TypeError as a throwable Java exception.class
Represents a Ruby UncaughtThrowError as a throwable Java exception.class
Represents a Ruby ZeroDivisionError as a throwable Java exception.Methods in org.jruby.exceptions that return RaiseExceptionModifier and TypeMethodDescriptionJumpException.FlowControlException.buildException
(Ruby runtime) static RaiseException
RaiseException.createNativeRaiseException
(Ruby runtime, Throwable cause) Deprecated.static RaiseException
RaiseException.createNativeRaiseException
(Ruby runtime, Throwable cause, Member target) Deprecated.static RaiseException
RaiseException.from
(RubyException exception, IRubyObject backtrace) Deprecated.static RaiseException
Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
RaiseException.from
(Ruby runtime, String exceptionPath, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
RaiseException.from
(Ruby runtime, String exceptionPath, IRubyObject... args) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
RaiseException.from
(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
RaiseException.from
(Ruby runtime, RubyClass exceptionClass, IRubyObject... args) Construct a new throwable RaiseException appropriate for the target Ruby exception class. -
Uses of RaiseException in org.jruby.ext.ffi
Methods in org.jruby.ext.ffi that return RaiseException -
Uses of RaiseException in org.jruby.ext.thread
Methods in org.jruby.ext.thread that return RaiseExceptionModifier and TypeMethodDescriptionprotected RaiseException
Queue.createInterruptedError
(ThreadContext context, String methodName) -
Uses of RaiseException in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseException
IRRuntimeHelpers.newRequiredKeywordArgumentError
(ThreadContext context, String id) -
Uses of RaiseException in org.jruby.javasupport
Methods in org.jruby.javasupport that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseException
JavaMethod.newArgSizeMismatchError
(Ruby runtime, Class... argTypes) static RaiseException
JavaMethod.newMethodNotFoundError
(Ruby runtime, Class target, String prettyName, String simpleName) Deprecated.static RaiseException
JavaMethod.newMethodNotFoundError
(ThreadContext context, Class target, String prettyName, String simpleName) Methods in org.jruby.javasupport that throw RaiseExceptionModifier and TypeMethodDescriptionstatic Class
Java.getJavaClass
(Ruby runtime, String className) Deprecated.static Class
Java.getJavaClass
(Ruby runtime, String className, boolean initialize) Deprecated.static Class
Java.getJavaClass
(ThreadContext context, String className) static Class
Java.getJavaClass
(ThreadContext context, String className, boolean initialize) static Class
Java.loadJavaClass
(Ruby runtime, String className) Deprecated.static Class
Java.loadJavaClass
(ThreadContext context, String className) -
Uses of RaiseException in org.jruby.javasupport.proxy
Methods in org.jruby.javasupport.proxy that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseException
JavaProxyConstructor.mapInstantiationException
(Ruby runtime, Throwable e) Methods in org.jruby.javasupport.proxy that throw RaiseExceptionModifier and TypeMethodDescriptionfinal IRubyObject
JavaProxyConstructor.newInstance
(Ruby runtime, IRubyObject self, Object[] args) final IRubyObject
JavaProxyConstructor.newInstance
(Ruby runtime, IRubyObject self, IRubyObject arg0) final IRubyObject
JavaProxyConstructor.newInstance
(Ruby runtime, IRubyObject self, IRubyObject[] args) -
Uses of RaiseException in org.jruby.runtime
Methods in org.jruby.runtime that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseException
Helpers.newIOErrorFromException
(Ruby runtime, IOException ex) Construct an appropriate error (which may ultimately not be an IOError) for a given IOException.static RaiseException
Helpers.newLocalJumpErrorForBreak
(Ruby runtime, IRubyObject breakValue) Methods in org.jruby.runtime with parameters of type RaiseExceptionModifier and TypeMethodDescriptionstatic String
Helpers.getLocalJumpTypeOrRethrow
(RaiseException re) Deprecated.static IRubyObject
Helpers.unwrapLocalJumpErrorValue
(RaiseException re) Methods in org.jruby.runtime that throw RaiseExceptionModifier and TypeMethodDescriptionstatic Visibility
Helpers.performNormalMethodChecksAndDetermineVisibility
(Ruby runtime, RubyModule clazz, RubySymbol symbol, Visibility visibility) Deprecated.static Visibility
Helpers.performNormalMethodChecksAndDetermineVisibility
(ThreadContext context, RubyModule clazz, RubySymbol symbol, Visibility visibility) -
Uses of RaiseException in org.jruby.runtime.load
Methods in org.jruby.runtime.load that throw RaiseException -
Uses of RaiseException in org.jruby.util
Methods in org.jruby.util that return RaiseExceptionModifier and TypeMethodDescriptionResourceException.ErrnoException.newRaiseException
(Ruby runtime) ResourceException.IOError.newRaiseException
(Ruby runtime) Deprecated.abstract RaiseException
ResourceException.newRaiseException
(Ruby runtime) static RaiseException
TypeConverter.newTypeError
(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) static RaiseException
TypeConverter.newTypeError
(IRubyObject obj, RubyClass target, String convertMethod, IRubyObject val) static RaiseException
TypeConverter.newTypeErrorMismatch
(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) -
Uses of RaiseException in org.jruby.util.io
Methods in org.jruby.util.io that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseException
EncodingUtils.econvOpenExc
(ThreadContext context, byte[] sourceEncoding, byte[] destinationEncoding, int ecflags) static RaiseException
EncodingUtils.makeEconvException
(Ruby runtime, org.jcodings.transcode.EConv ec) Deprecated.static RaiseException
EncodingUtils.makeEconvException
(ThreadContext context, org.jcodings.transcode.EConv ec)
RubyTime.invalidUTCOffset(ThreadContext)
instead