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 classRepresents a Ruby IO::TimeoutErrorError as a throwable Java exception.Methods in org.jruby that return RaiseExceptionModifier and TypeMethodDescriptionprotected RaiseExceptionRubyArgumentError.constructThrowable(String message) protected RaiseExceptionRubyConcurrencyError.constructThrowable(String message) protected RaiseExceptionRubyDomainError.constructThrowable(String message) protected RaiseExceptionRubyEncodingError.constructThrowable(String message) protected RaiseExceptionRubyEncodingError.RubyCompatibilityError.constructThrowable(String message) protected RaiseExceptionRubyEncodingError.RubyConverterNotFoundError.constructThrowable(String message) protected RaiseExceptionRubyEncodingError.RubyInvalidByteSequenceError.constructThrowable(String message) protected RaiseExceptionRubyEncodingError.RubyUndefinedConversionError.constructThrowable(String message) protected RaiseExceptionRubyEOFError.constructThrowable(String message) protected RaiseExceptionRubyException.constructThrowable(String message) protected RaiseExceptionRubyFatal.constructThrowable(String message) protected RaiseExceptionRubyFiberError.constructThrowable(String message) protected RaiseExceptionRubyFloatDomainError.constructThrowable(String message) protected RaiseExceptionRubyFrozenError.constructThrowable(String message) protected RaiseExceptionRubyIndexError.constructThrowable(String message) protected RaiseExceptionRubyInterrupt.constructThrowable(String message) protected RaiseExceptionRubyInterruptedRegexpError.constructThrowable(String message) protected RaiseExceptionRubyIOError.constructThrowable(String message) protected RaiseExceptionRubyKeyError.constructThrowable(String message) protected RaiseExceptionRubyLoadError.constructThrowable(String message) protected RaiseExceptionRubyLocalJumpError.constructThrowable(String message) protected RaiseExceptionRubyNameError.constructThrowable(String message) protected RaiseExceptionRubyNoMatchingPatternError.constructThrowable(String message) protected RaiseExceptionRubyNoMatchingPatternKeyError.constructThrowable(String message) protected RaiseExceptionRubyNoMemoryError.constructThrowable(String message) protected RaiseExceptionRubyNoMethodError.constructThrowable(String message) protected RaiseExceptionRubyNotImplementedError.constructThrowable(String message) protected RaiseExceptionRubyRangeError.constructThrowable(String message) protected RaiseExceptionRubyRegexpError.constructThrowable(String message) protected RaiseExceptionRubyRuntimeError.constructThrowable(String message) protected RaiseExceptionRubyScriptError.constructThrowable(String message) protected RaiseExceptionRubySecurityError.constructThrowable(String message) protected RaiseExceptionRubySignalException.constructThrowable(String message) protected RaiseExceptionRubyStandardError.constructThrowable(String message) protected RaiseExceptionRubyStopIteration.constructThrowable(String message) protected RaiseExceptionRubySyntaxError.constructThrowable(String message) protected RaiseExceptionRubySystemCallError.constructThrowable(String message) protected RaiseExceptionRubySystemExit.constructThrowable(String message) protected RaiseExceptionRubySystemStackError.constructThrowable(String message) protected RaiseExceptionRubyThreadError.constructThrowable(String message) protected RaiseExceptionRubyTypeError.constructThrowable(String message) protected RaiseExceptionRubyUncaughtThrowError.constructThrowable(String message) protected RaiseExceptionRubyZeroDivisionError.constructThrowable(String message) static RaiseExceptionRubyTime.invalidUTCOffset(Ruby runtime) Deprecated.static RaiseExceptionRubyTime.invalidUTCOffset(Ruby runtime, IRubyObject value) Deprecated.UseRubyTime.invalidUTCOffset(ThreadContext)insteadstatic RaiseExceptionRubyTime.invalidUTCOffset(ThreadContext context) static RaiseExceptionRubyTime.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 TypeMethodDescriptionvoidRubyThread.exceptionRaised(RaiseException exception) protected static intMain.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 voidRubyModule.checkForCyclicPrepend(ThreadContext context, RubyModule m) voidRubyModule.checkValidBindTargetFrom(ThreadContext context, RubyModule originModule, boolean fromBind) -
Uses of RaiseException in org.jruby.api
Methods in org.jruby.api that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseExceptionError.floatDomainError(ThreadContext context, String message) static RaiseExceptionError.frozenError(ThreadContext context, IRubyObject object, String message) Create a frozen error with a simple ASCII String.static RaiseExceptionError.indexError(ThreadContext context, String message) Create an index error with a simple ASCII String.static RaiseExceptionError.nameError(ThreadContext context, String message, String name) Create a name error with a simple ASCII String and the failing name.static RaiseExceptionError.nameError(ThreadContext context, String message, String name, Throwable throwable) Create a name error with a simple ASCII String and the failing name.static RaiseExceptionError.nameError(ThreadContext context, String message, IRubyObject name) Create a name error with a simple ASCII String and the failing name.static RaiseExceptionError.rangeError(ThreadContext context, String message) Create a range error with a simple ASCII String.static RaiseExceptionMRI.rb_econv_open_exc(ThreadContext context, byte[] sourceEncoding, byte[] destinationEncoding, int ecflags) static RaiseExceptionError.runtimeError(ThreadContext context, String message) Create a runtime error with a simple ASCII String.static RaiseExceptionError.withException(RaiseException error, Exception exception) Attach an exception to an error.Rstatic RaiseExceptionError.zeroDivisionError(ThreadContext context) Create a TypeError with the given message.Methods in org.jruby.api with parameters of type RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseExceptionError.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 TypeClassDescriptionclassRepresents a Ruby ArgumentError as a throwable Java exception.classRepresents a Ruby ConcurrencyError as a throwable Java exception.classRepresents a Ruby DomainError as a throwable Java exception.classRepresents a Ruby EncodingError as a throwable Java exception.static classRepresents a Ruby CompatibilityError as a throwable Java exception.static classRepresents a Ruby ConverterNotFoundError as a throwable Java exception.static classRepresents a Ruby InvalidByteSequenceError as a throwable Java exception.static classRepresents a Ruby UndefinedConversionError as a throwable Java exception.classRepresents a Ruby EOFError as a throwable Java exception.classRepresents a Ruby Exception as a throwable Java exception.classRepresents a RubyFatal as a throwable Java exception.classRepresents a Ruby FiberError as a throwable Java exception.classRepresents a Ruby FloatDomainError as a throwable Java exception.classRepresents a Ruby FrozenError as a throwable Java exception.classRepresents a Ruby IndexError as a throwable Java exception.classRepresents a Ruby Interrupt as a throwable Java exception.classRepresents a Ruby InterruptedRegexpError as a throwable Java exception.classRepresents a Ruby IOError as a throwable Java exception.classRepresents a Ruby KeyError as a throwable Java exception.classRepresents a Ruby LoadError as a throwable Java exception.classRepresents a Ruby LocalJumpError as a throwable Java exception.classRepresents a Ruby NameError as a throwable Java exception.classRepresents a Ruby ArgumentError as a throwable Java exception.classRepresents a Ruby ArgumentError as a throwable Java exception.classRepresents a Ruby NoMemoryError as a throwable Java exception.classRepresents a Ruby NoMethodError as a throwable Java exception.classRepresents a Ruby NotImplementedError as a throwable Java exception.classRepresents a Ruby RangeError as a throwable Java exception.classRepresents a Ruby RegexpError as a throwable Java exception.classRepresents a Ruby RuntimeError as a throwable Java exception.classclassRepresents a Ruby SecurityError as a throwable Java exception.classRepresents a Ruby SignalException as a throwable Java exception.classRepresents a RubyStandardError as a throwable Java exception.classRepresents a Ruby StopIteration as a throwable Java exception.classRepresents a Ruby SyntaxError as a throwable Java exception.classRepresents a Ruby SystemCallError as a throwable Java exception.classRepresents a RubySystemExit as a throwable Java exception.classclassRepresents a Ruby ThreadError as a throwable Java exception.classRepresents a Ruby TypeError as a throwable Java exception.classRepresents a Ruby UncaughtThrowError as a throwable Java exception.classRepresents a Ruby ZeroDivisionError as a throwable Java exception.Methods in org.jruby.exceptions that return RaiseExceptionModifier and TypeMethodDescriptionJumpException.FlowControlException.buildException(Ruby runtime) static RaiseExceptionRaiseException.createNativeRaiseException(Ruby runtime, Throwable cause) Deprecated.static RaiseExceptionRaiseException.createNativeRaiseException(Ruby runtime, Throwable cause, Member target) Deprecated.static RaiseExceptionRaiseException.from(RubyException exception, IRubyObject backtrace) Deprecated.static RaiseExceptionConstruct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, String exceptionPath, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, String exceptionPath, IRubyObject... args) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionConstruct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.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 RaiseExceptionQueue.createInterruptedError(ThreadContext context, String methodName) -
Uses of RaiseException in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseExceptionIRRuntimeHelpers.newRequiredKeywordArgumentError(ThreadContext context, String id) -
Uses of RaiseException in org.jruby.javasupport
Methods in org.jruby.javasupport that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseExceptionJavaMethod.newArgSizeMismatchError(Ruby runtime, Class... argTypes) static RaiseExceptionJavaMethod.newMethodNotFoundError(Ruby runtime, Class target, String prettyName, String simpleName) Deprecated.static RaiseExceptionJavaMethod.newMethodNotFoundError(ThreadContext context, Class target, String prettyName, String simpleName) Methods in org.jruby.javasupport that throw RaiseExceptionModifier and TypeMethodDescriptionstatic ClassJava.getJavaClass(Ruby runtime, String className) Deprecated.static ClassJava.getJavaClass(Ruby runtime, String className, boolean initialize) Deprecated.static ClassJava.getJavaClass(ThreadContext context, String className) static ClassJava.getJavaClass(ThreadContext context, String className, boolean initialize) static ClassJava.loadJavaClass(Ruby runtime, String className) Deprecated.static ClassJava.loadJavaClass(ThreadContext context, String className) -
Uses of RaiseException in org.jruby.javasupport.proxy
Methods in org.jruby.javasupport.proxy that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseExceptionJavaProxyConstructor.mapInstantiationException(Ruby runtime, Throwable e) Methods in org.jruby.javasupport.proxy that throw RaiseExceptionModifier and TypeMethodDescriptionfinal IRubyObjectJavaProxyConstructor.newInstance(Ruby runtime, IRubyObject self, Object[] args) final IRubyObjectJavaProxyConstructor.newInstance(Ruby runtime, IRubyObject self, IRubyObject arg0) final IRubyObjectJavaProxyConstructor.newInstance(Ruby runtime, IRubyObject self, IRubyObject[] args) -
Uses of RaiseException in org.jruby.runtime
Methods in org.jruby.runtime that return RaiseExceptionModifier and TypeMethodDescriptionstatic RaiseExceptionHelpers.newIOErrorFromException(Ruby runtime, IOException ex) Construct an appropriate error (which may ultimately not be an IOError) for a given IOException.static RaiseExceptionHelpers.newLocalJumpErrorForBreak(Ruby runtime, IRubyObject breakValue) Methods in org.jruby.runtime with parameters of type RaiseExceptionModifier and TypeMethodDescriptionstatic StringHelpers.getLocalJumpTypeOrRethrow(RaiseException re) Deprecated.static IRubyObjectHelpers.unwrapLocalJumpErrorValue(RaiseException re) Methods in org.jruby.runtime that throw RaiseExceptionModifier and TypeMethodDescriptionstatic VisibilityHelpers.performNormalMethodChecksAndDetermineVisibility(Ruby runtime, RubyModule clazz, RubySymbol symbol, Visibility visibility) Deprecated.static VisibilityHelpers.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 RaiseExceptionResourceException.newRaiseException(Ruby runtime) static RaiseExceptionTypeConverter.newTypeError(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) static RaiseExceptionTypeConverter.newTypeError(IRubyObject obj, RubyClass target, String convertMethod, IRubyObject val) static RaiseExceptionTypeConverter.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 RaiseExceptionEncodingUtils.econvOpenExc(ThreadContext context, byte[] sourceEncoding, byte[] destinationEncoding, int ecflags) static RaiseExceptionEncodingUtils.makeEconvException(Ruby runtime, org.jcodings.transcode.EConv ec) Deprecated.static RaiseExceptionEncodingUtils.makeEconvException(ThreadContext context, org.jcodings.transcode.EConv ec)
RubyTime.invalidUTCOffset(ThreadContext)instead