java.io.Serializable
public class Error
extends java.lang.Exception
Modifier and Type | Method | Description |
---|---|---|
java.lang.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 java.lang.String |
strerror(int statcode) |
Return a human readable string describing the specified error.
|
public int getError()
public java.lang.String getDescription()
public static int osError()
public static int netosError()
public static java.lang.String strerror(int statcode)
statcode
- The error code the get a string for.Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.