| public Object getExecutor(Thread thread) throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException Overrides org.apache.tomcat.util.compat.JreCompat.getExecutor.
Doc from org.apache.tomcat.util.compat.JreCompat.getExecutor.
Obtains the executor, if any, used to create the provided thread.
- Parameters
- thread:Thread
The thread to examine
- Returns:Object
The executor, if any, that created the provided thread
- Annotations
- @Override
- Exceptions
- NoSuchFieldException:
- If a field used via reflection to obtain the executor cannot be found
- SecurityException:
- If a security exception occurs while trying to identify the executor
- IllegalArgumentException:
- If the instance object does not match the class of the field when obtaining a field value via reflection
- IllegalAccessException:
- If a field is not accessible due to access restrictions
|