Package org.jruby.util
Class ResourceException.ErrnoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.jruby.util.ResourceException
org.jruby.util.ResourceException.ErrnoException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ResourceException.FileExists,ResourceException.FileIsDirectory,ResourceException.FileIsNotDirectory,ResourceException.InvalidArguments,ResourceException.NotFound,ResourceException.PermissionDenied,ResourceException.TooManySymlinks
- Enclosing class:
ResourceException
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jruby.util.ResourceException
ResourceException.ErrnoException, ResourceException.FileExists, ResourceException.FileIsDirectory, ResourceException.FileIsNotDirectory, ResourceException.InvalidArguments, ResourceException.IOError, ResourceException.NotFound, ResourceException.PermissionDenied, ResourceException.TooManySymlinks -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedErrnoException(String errnoClass, String path) protectedErrnoException(jnr.constants.platform.Errno errno, String path) -
Method Summary
Modifier and TypeMethodDescriptionjnr.constants.platform.ErrnogetErrno()getPath()newRaiseException(Ruby runtime) Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ErrnoException
-
ErrnoException
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTracein classThrowable
-
newRaiseException
- Specified by:
newRaiseExceptionin classResourceException
-
getPath
-
getErrno
public jnr.constants.platform.Errno getErrno()
-