public final class UnixException extends Exception
Constructor and Description |
---|
UnixException(String msg,
int errNo) |
Modifier and Type | Method and Description |
---|---|
int |
errno() |
String |
errorString() |
String |
getMessage() |
void |
rethrowAsIOException(String file) |
IOException |
translateToIOException(String file,
String other)
Map well known errors to specific exceptions where possible; otherwise return more general FileSystemException.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnixException(String msg, int errNo)
public int errno()
public String errorString()
public String getMessage()
getMessage
in class Throwable
@Nonnull public IOException translateToIOException(String file, String other)
public void rethrowAsIOException(String file) throws IOException
IOException
Copyright © 2018 SPF4J. All rights reserved.