public class Error extends Exception
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get the APR description of the exception.
|
int |
getError()
Get the APR error code of the exception.
|
static int |
netosError()
Get the last platform socket error.
|
static int |
osError()
Get the last platform error.
|
static String |
strerror(int statcode)
Return a human readable string describing the specified error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public int getError()
public String getDescription()
public static int osError()
public static int netosError()
public static String strerror(int statcode)
statcode
- The error code the get a string for.Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.