Modifier and Type | Method and Description |
---|---|
RaiseException |
Ruby.newArgumentError(int got,
int expected) |
RaiseException |
Ruby.newArgumentError(java.lang.String message) |
RaiseException |
Ruby.newArgumentError(java.lang.String name,
int got,
int expected) |
RaiseException |
Ruby.newConcurrencyError(java.lang.String message) |
RaiseException |
Ruby.newConverterNotFoundError(java.lang.String message) |
RaiseException |
Ruby.newEncodingCompatibilityError(java.lang.String message) |
RaiseException |
Ruby.newEncodingError(java.lang.String message) |
RaiseException |
Ruby.newEOFError() |
RaiseException |
Ruby.newEOFError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEACCESError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEADDRFromBindException(java.net.BindException be) |
RaiseException |
Ruby.newErrnoEADDRFromBindException(java.net.BindException be,
java.lang.String contextMessage) |
RaiseException |
Ruby.newErrnoEADDRINUSEError() |
RaiseException |
Ruby.newErrnoEADDRINUSEError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEADDRNOTAVAILError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEAFNOSUPPORTError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEAGAINError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEAGAINReadableError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEAGAINWritableError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEBADFError() |
RaiseException |
Ruby.newErrnoEBADFError(java.lang.String message) |
RaiseException |
Ruby.newErrnoECHILDError() |
RaiseException |
Ruby.newErrnoECONNABORTEDError() |
RaiseException |
Ruby.newErrnoECONNREFUSEDError() |
RaiseException |
Ruby.newErrnoECONNREFUSEDError(java.lang.String message) |
RaiseException |
Ruby.newErrnoECONNRESETError() |
RaiseException |
Ruby.newErrnoEDESTADDRREQError(java.lang.String func) |
RaiseException |
Ruby.newErrnoEDOMError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEEXISTError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEHOSTUNREACHError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEINPROGRESSError() |
RaiseException |
Ruby.newErrnoEINPROGRESSError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEINPROGRESSWritableError() |
RaiseException |
Ruby.newErrnoEINPROGRESSWritableError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEINTRError() |
RaiseException |
Ruby.newErrnoEINVALError() |
RaiseException |
Ruby.newErrnoEINVALError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEISCONNError() |
RaiseException |
Ruby.newErrnoEISCONNError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEISDirError() |
RaiseException |
Ruby.newErrnoEISDirError(java.lang.String message) |
RaiseException |
Ruby.newErrnoELOOPError() |
RaiseException |
Ruby.newErrnoEMFILEError() |
RaiseException |
Ruby.newErrnoEMSGSIZEError() |
RaiseException |
Ruby.newErrnoENETUNREACHError() |
RaiseException |
Ruby.newErrnoENFILEError() |
RaiseException |
Ruby.newErrnoENOENTError() |
RaiseException |
Ruby.newErrnoENOENTError(java.lang.String message) |
RaiseException |
Ruby.newErrnoENOPROTOOPTError() |
RaiseException |
Ruby.newErrnoENOTCONNError() |
RaiseException |
Ruby.newErrnoENOTCONNError(java.lang.String message) |
RaiseException |
Ruby.newErrnoENOTDIRError(java.lang.String message) |
RaiseException |
Ruby.newErrnoENOTEMPTYError(java.lang.String message) |
RaiseException |
Ruby.newErrnoENOTSOCKError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEOPNOTSUPPError(java.lang.String message) |
RaiseException |
Ruby.newErrnoEPERMError(java.lang.String name) |
RaiseException |
Ruby.newErrnoEPIPEError() |
RaiseException |
Ruby.newErrnoESPIPEError() |
RaiseException |
Ruby.newErrnoESPIPEError(java.lang.String message) |
RaiseException |
Ruby.newErrnoESRCHError() |
RaiseException |
Ruby.newErrnoEWOULDBLOCKError() |
RaiseException |
Ruby.newErrnoFromErrno(jnr.constants.platform.Errno errno,
java.lang.String message) |
RaiseException |
Ruby.newErrnoFromInt(int errno) |
RaiseException |
Ruby.newErrnoFromInt(int errno,
java.lang.String message) |
RaiseException |
Ruby.newErrnoFromInt(int errno,
java.lang.String methodName,
java.lang.String message) |
RaiseException |
Ruby.newErrnoFromLastPOSIXErrno() |
RaiseException |
Ruby.newFiberError(java.lang.String message) |
RaiseException |
Ruby.newFloatDomainError(java.lang.String message) |
RaiseException |
Ruby.newFrozenError(java.lang.String objectType) |
RaiseException |
Ruby.newFrozenError(java.lang.String objectType,
boolean runtimeError) |
RaiseException |
Ruby.newIllegalSequence(java.lang.String message)
Deprecated.
|
RaiseException |
Ruby.newIndexError(java.lang.String message) |
RaiseException |
Ruby.newInterruptedRegexpError(java.lang.String message) |
RaiseException |
Ruby.newInvalidByteSequenceError(java.lang.String message) |
RaiseException |
Ruby.newInvalidEncoding(java.lang.String message)
Deprecated.
|
RaiseException |
Ruby.newIOError(java.lang.String message) |
RaiseException |
Ruby.newIOErrorFromException(java.io.IOException ex)
Java does not give us enough information for specific error conditions
so we are reduced to divining them through string matches...
|
RaiseException |
Ruby.newKeyError(java.lang.String message) |
RaiseException |
Ruby.newLightweightStopIterationError(java.lang.String message)
Deprecated.
|
RaiseException |
Ruby.newLoadError(java.lang.String message) |
RaiseException |
Ruby.newLoadError(java.lang.String message,
java.lang.String path) |
RaiseException |
Ruby.newLocalJumpError(RubyLocalJumpError.Reason reason,
IRubyObject exitValue,
java.lang.String message) |
RaiseException |
Ruby.newLocalJumpErrorNoBlock() |
RaiseException |
Ruby.newMathDomainError(java.lang.String message) |
RaiseException |
Ruby.newNameError(java.lang.String message,
IRubyObject recv,
IRubyObject name)
Construct a NameError that formats its message with an sprintf format string.
|
RaiseException |
Ruby.newNameError(java.lang.String message,
IRubyObject recv,
java.lang.String name)
Construct a NameError that formats its message with an sprintf format string.
|
RaiseException |
Ruby.newNameError(java.lang.String message,
java.lang.String name)
Construct a NameError with a pre-formatted message and name.
|
RaiseException |
Ruby.newNameError(java.lang.String message,
java.lang.String name,
java.lang.Throwable origException)
Construct a NameError with an optional originating exception and a pre-formatted message.
|
RaiseException |
Ruby.newNameError(java.lang.String message,
java.lang.String name,
java.lang.Throwable origException,
boolean printWhenVerbose)
Construct a NameError with the given pre-formatted message, name, and optional original exception.
|
RaiseException |
Ruby.newNameErrorObject(java.lang.String message,
IRubyObject name)
Deprecated.
|
RaiseException |
Ruby.newNoMethodError(java.lang.String message,
IRubyObject recv,
java.lang.String name,
RubyArray args)
Construct a NoMethodError that formats its message with an sprintf format string.
|
RaiseException |
Ruby.newNoMethodError(java.lang.String message,
java.lang.String name,
IRubyObject args)
Construct a NoMethodError with a pre-formatted message.
|
RaiseException |
Ruby.newNotImplementedError(java.lang.String message) |
RaiseException |
Ruby.newRaiseException(RubyClass exceptionClass,
java.lang.String message) |
RaiseException |
Ruby.newRangeError(java.lang.String message) |
RaiseException |
Ruby.newRedoLocalJumpError() |
RaiseException |
Ruby.newRegexpError(java.lang.String message) |
RaiseException |
Ruby.newRuntimeError(java.lang.String message) |
RaiseException |
Ruby.newSecurityError(java.lang.String message) |
RaiseException |
Ruby.newStandardError(java.lang.String message) |
RaiseException |
Ruby.newStopIteration(IRubyObject result,
java.lang.String message)
Generate a StopIteration exception.
|
RaiseException |
Ruby.newSyntaxError(java.lang.String message) |
RaiseException |
Ruby.newSystemCallError(java.lang.String message) |
RaiseException |
Ruby.newSystemExit(int status) |
RaiseException |
Ruby.newSystemExit(int status,
java.lang.String message) |
RaiseException |
Ruby.newSystemStackError(java.lang.String message) |
RaiseException |
Ruby.newSystemStackError(java.lang.String message,
java.lang.StackOverflowError soe) |
RaiseException |
Ruby.newThreadError(java.lang.String message) |
RaiseException |
Ruby.newTypeError(IRubyObject receivedObject,
RubyClass expectedType) |
RaiseException |
Ruby.newTypeError(IRubyObject receivedObject,
RubyModule expectedType) |
RaiseException |
Ruby.newTypeError(IRubyObject receivedObject,
java.lang.String expectedType) |
RaiseException |
Ruby.newTypeError(java.lang.String message) |
RaiseException |
Ruby.newUndefinedConversionError(java.lang.String message) |
RaiseException |
Ruby.newZeroDivisionError() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RubyModule.checkForCyclicPrepend(RubyModule m) |
void |
RubyModule.checkValidBindTargetFrom(ThreadContext context,
RubyModule originModule) |
Modifier and Type | Method and Description |
---|---|
RaiseException |
JumpException.FlowControlException.buildException(Ruby runtime) |
static RaiseException |
RaiseException.createNativeRaiseException(Ruby runtime,
java.lang.Throwable cause)
Deprecated.
|
static RaiseException |
RaiseException.createNativeRaiseException(Ruby runtime,
java.lang.Throwable cause,
java.lang.reflect.Member target)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected RaiseException |
InvalidMemoryIO.ex() |
Modifier and Type | Method and Description |
---|---|
protected RaiseException |
Queue.createInterruptedError(ThreadContext context,
java.lang.String methodName) |
Modifier and Type | Method and Description |
---|---|
static RaiseException |
IRRuntimeHelpers.newRequiredKeywordArgumentError(ThreadContext context,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
static RaiseException |
JavaMethod.newArgSizeMismatchError(Ruby runtime,
java.lang.Class... argTypes) |
static RaiseException |
JavaMethod.newMethodNotFoundError(Ruby runtime,
java.lang.Class target,
java.lang.String prettyName,
java.lang.String simpleName) |
static RaiseException |
JavaClass.undefinedFieldError(Ruby runtime,
java.lang.String javaClassName,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
JavaObject |
JavaProxyConstructor.newInstance(IRubyObject self,
IRubyObject arg0) |
JavaObject |
JavaProxyConstructor.newInstance(IRubyObject self,
IRubyObject[] args) |
JavaObject |
JavaProxyConstructor.newInstance(IRubyObject self,
java.lang.Object[] args) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Helpers.getLocalJumpTypeOrRethrow(RaiseException re) |
static IRubyObject |
Helpers.unwrapLocalJumpErrorValue(RaiseException re) |
Modifier and Type | Method and Description |
---|---|
static Visibility |
Helpers.performNormalMethodChecksAndDetermineVisibility(Ruby runtime,
RubyModule clazz,
java.lang.String name,
Visibility visibility) |
static RubyClass |
Helpers.performSingletonMethodChecks(Ruby runtime,
IRubyObject receiver,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
LoadService.checkEmptyLoad(java.lang.String file) |
protected void |
LoadService.reraiseRaiseExceptions(java.lang.Throwable e) |
protected LoadServiceResource |
LoadService.tryResourceAsIs(java.lang.String namePlusSuffix)
Deprecated.
|
protected LoadServiceResource |
LoadService.tryResourceAsIs(java.lang.String namePlusSuffix,
java.lang.String debugName)
Deprecated.
|
protected LoadServiceResource |
LoadService.tryResourceFromCWD(LoadService.SearchState state,
java.lang.String baseName,
LoadService.SuffixType suffixType)
Deprecated.
|
protected LoadServiceResource |
LoadService.tryResourceFromDotSlash(LoadService.SearchState state,
java.lang.String baseName,
LoadService.SuffixType suffixType)
Deprecated.
|
protected LoadServiceResource |
LoadService.tryResourceFromHome(LoadService.SearchState state,
java.lang.String baseName,
LoadService.SuffixType suffixType)
Deprecated.
|
protected LoadServiceResource |
LoadService.tryResourceFromLoadPath(java.lang.String namePlusSuffix,
java.lang.String loadPathEntry)
Deprecated.
|
boolean |
LoadService.ScriptClassSearcher.trySearch(LoadService.SearchState state)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
abstract RaiseException |
ResourceException.newRaiseException(Ruby runtime) |
RaiseException |
ResourceException.IOError.newRaiseException(Ruby runtime) |
static RaiseException |
TypeConverter.newTypeError(IRubyObject obj,
RubyClass target,
java.lang.String convertMethod,
IRubyObject val) |
Modifier and Type | Method and Description |
---|---|
static RaiseException |
EncodingUtils.econvOpenExc(ThreadContext context,
byte[] sourceEncoding,
byte[] destinationEncoding,
int ecflags) |
static RaiseException |
EncodingUtils.makeEconvException(Ruby runtime,
org.jcodings.transcode.EConv ec) |
Copyright © 2001-2017 JRuby. All Rights Reserved.