| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.tomcat.jni.Error
Error | public class Error extends Exception (Code) | | Error
author: Mladen Turk version: $Revision: 467222 $, $Date: 2006-10-24 05:17:11 +0200 (mar., 24 oct. 2006) $ |
Method Summary | |
public String | getDescription() Get the APR description of the exception. | public int | getError() Get the APR error code of the exception. | native public static int | netosError() Get the last platform socket error. | native public static int | osError() Get the last platform error.
apr_status_t the last platform error, folded into apr_status_t, on most platformsThis retrieves errno, or calls a GetLastError() style function, andfolds it with APR_FROM_OS_ERROR. | native public static String | strerror(int statcode) Return a human readable string describing the specified error.
Parameters: statcode - The error code the get a string for. |
getDescription | public String getDescription()(Code) | | Get the APR description of the exception.
description of the Exception |
getError | public int getError()(Code) | | Get the APR error code of the exception.
error of the Exception |
netosError | native public static int netosError()(Code) | | Get the last platform socket error.
the last socket error, folded into apr_status_t, on all platformsThis retrieves errno or calls a GetLastSocketError() style function,and folds it with APR_FROM_OS_ERROR. |
osError | native public static int osError()(Code) | | Get the last platform error.
apr_status_t the last platform error, folded into apr_status_t, on most platformsThis retrieves errno, or calls a GetLastError() style function, andfolds it with APR_FROM_OS_ERROR. Some platforms (such as OS2) have nosuch mechanism, so this call may be unsupported. Do NOT use thiscall for socket errors from socket, send, recv etc! |
strerror | native public static String strerror(int statcode)(Code) | | Return a human readable string describing the specified error.
Parameters: statcode - The error code the get a string for. The error string. |
|
|