public String strerror(int errno) { return os.strerror(errno); } public String strsignal(int signal) { return os.strsignal(signal); }
/** * Converts the stashed function name and errno value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String errnoName = OsConstants.errnoName(errno); if (errnoName == null) { errnoName = "errno " + errno; } String description = Libcore.os.strerror(errno); return functionName + " failed: " + errnoName + " (" + description + ")"; }
public String strerror(int errno) { return os.strerror(errno); } public String strsignal(int signal) { return os.strsignal(signal); }
public String strerror(int errno) { return os.strerror(errno); } public String strsignal(int signal) { return os.strsignal(signal); }
public String strerror(int errno) { return os.strerror(errno); } public String strsignal(int signal) { return os.strsignal(signal); }
public String strerror(int errno) { return os.strerror(errno); } public String strsignal(int signal) { return os.strsignal(signal); }
public String strerror(int errno) { return os.strerror(errno); } public String strsignal(int signal) { return os.strsignal(signal); }
public String strerror(int errno) { return os.strerror(errno); } public String strsignal(int signal) { return os.strsignal(signal); }
/** * Converts the stashed function name and errno value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String errnoName = OsConstants.errnoName(errno); if (errnoName == null) { errnoName = "errno " + errno; } String description = Libcore.os.strerror(errno); return functionName + " failed: " + errnoName + " (" + description + ")"; }
/** * Converts the stashed function name and errno value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String errnoName = OsConstants.errnoName(errno); if (errnoName == null) { errnoName = "errno " + errno; } String description = Libcore.os.strerror(errno); return functionName + " failed: " + errnoName + " (" + description + ")"; }
/** * Converts the stashed function name and errno value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String errnoName = OsConstants.errnoName(errno); if (errnoName == null) { errnoName = "errno " + errno; } String description = Libcore.os.strerror(errno); return functionName + " failed: " + errnoName + " (" + description + ")"; }
/** * Converts the stashed function name and errno value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String errnoName = OsConstants.errnoName(errno); if (errnoName == null) { errnoName = "errno " + errno; } String description = Libcore.os.strerror(errno); return functionName + " failed: " + errnoName + " (" + description + ")"; }
/** * Converts the stashed function name and errno value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String errnoName = OsConstants.errnoName(errno); if (errnoName == null) { errnoName = "errno " + errno; } String description = Libcore.os.strerror(errno); return functionName + " failed: " + errnoName + " (" + description + ")"; }
/** * Converts the stashed function name and errno value to a human-readable string. * We do this here rather than in the constructor so that callers only pay for * this if they need it. */ @Override public String getMessage() { String errnoName = OsConstants.errnoName(errno); if (errnoName == null) { errnoName = "errno " + errno; } String description = Libcore.os.strerror(errno); return functionName + " failed: " + errnoName + " (" + description + ")"; }