Skip to content

Commit 40231a4

Browse files
authored
Closes #1189 - Add documentation about missing _thrown parameter for constructors (#1795)
1 parent a2f1288 commit 40231a4

File tree

1 file changed

+13
-13
lines changed
  • inspectit-ocelot-documentation/docs/instrumentation

1 file changed

+13
-13
lines changed

inspectit-ocelot-documentation/docs/instrumentation/actions.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -85,19 +85,19 @@ This means that for example `a_method_getClassFQN` can be called without manuall
8585
like it was done in the example of the [rules section](instrumentation/rules.md). An overview of all available special
8686
input parameter is given below:
8787

88-
| Parameter Name | Type | Description |
89-
|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
90-
| `_methodName` | [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) | The name of the instrumented method within which this action is getting executed. |
91-
| `_class` | [Class](https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html) | The class declaring the instrumented method within which this action is getting executed. |
92-
| `_parameterTypes` | [Class](https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html)[] | The types of the parameter which the instrumented method declares for which the action is executed. |
93-
| `_this` | (depends on context) | The this-instance in the context of the instrumented method within which this action is getting executed. |
94-
| `_args` | [Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html)[] | The arguments with which the instrumented method was called within which this action is getting executed. The arguments are boxed if necessary and packed into an array. |
95-
| `_arg0,_arg1,...,_argN` | (depends on context) | The N-th argument with which the instrumented method was called within which this action is getting executed. |
96-
| `_returnValue` | (depends on context) | The value returned by the instrumented method within which this action is getting executed. If the method terminated with an exception or the action is executed in the entry phase this is `null`. |
97-
| `_thrown` | [Throwable](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html) | The exception thrown by the instrumented method within which this action is getting executed. If the method returned normally or the action is executed in the entry phase this is `null`. |
98-
| `_context` | [InspectitContext](https://github.com/inspectIT/inspectit-ocelot/blob/master/inspectit-ocelot-bootstrap/src/main/java/rocks/inspectit/ocelot/bootstrap/exposed/InspectitContext.java) | Gives direct read and write access to the current [context](instrumentation/data-propagation.md). Can be used as data dictionary or to implement custom data propagation. |
99-
| `_attachments` | [ObjectAttachments](https://github.com/inspectIT/inspectit-ocelot/blob/master/inspectit-ocelot-bootstrap/src/main/java/rocks/inspectit/ocelot/bootstrap/exposed/ObjectAttachments.java) | Allows you to attach values to Java objects instead of to the control flow, as done via `_context`. This enables sharing data across multiple threads. |
100-
| `_reflection` | [ReflectionCache](https://github.com/inspectIT/inspectit-ocelot/blob/master/inspectit-ocelot-bootstrap/src/main/java/rocks/inspectit/ocelot/bootstrap/exposed/ReflectionCache.java) | Allows you to access and cache fields and methods via reflection. |
88+
| Parameter Name | Type | Description |
89+
|-------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
90+
| `_methodName` | [String](https://docs.oracle.com/javase/8/docs/api/java/lang/String.html) | The name of the instrumented method within which this action is getting executed. |
91+
| `_class` | [Class](https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html) | The class declaring the instrumented method within which this action is getting executed. |
92+
| `_parameterTypes` | [Class](https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html)[] | The types of the parameter which the instrumented method declares for which the action is executed. |
93+
| `_this` | (depends on context) | The this-instance in the context of the instrumented method within which this action is getting executed. |
94+
| `_args` | [Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html)[] | The arguments with which the instrumented method was called within which this action is getting executed. The arguments are boxed if necessary and packed into an array. |
95+
| `_arg0,_arg1,...,_argN` | (depends on context) | The N-th argument with which the instrumented method was called within which this action is getting executed. |
96+
| `_returnValue` | (depends on context) | The value returned by the instrumented method within which this action is getting executed. If the method terminated with an exception or the action is executed in the entry phase this is `null`. |
97+
| `_thrown` | [Throwable](https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html) | The exception thrown by the instrumented method within which this action is getting executed. If the method returned normally, the method is a constructor or the action is executed in the entry phase this is `null`. |
98+
| `_context` | [InspectitContext](https://github.com/inspectIT/inspectit-ocelot/blob/master/inspectit-ocelot-bootstrap/src/main/java/rocks/inspectit/ocelot/bootstrap/exposed/InspectitContext.java) | Gives direct read and write access to the current [context](instrumentation/data-propagation.md). Can be used as data dictionary or to implement custom data propagation. |
99+
| `_attachments` | [ObjectAttachments](https://github.com/inspectIT/inspectit-ocelot/blob/master/inspectit-ocelot-bootstrap/src/main/java/rocks/inspectit/ocelot/bootstrap/exposed/ObjectAttachments.java) | Allows you to attach values to Java objects instead of to the control flow, as done via `_context`. This enables sharing data across multiple threads. |
100+
| `_reflection` | [ReflectionCache](https://github.com/inspectIT/inspectit-ocelot/blob/master/inspectit-ocelot-bootstrap/src/main/java/rocks/inspectit/ocelot/bootstrap/exposed/ReflectionCache.java) | Allows you to access and cache fields and methods via reflection. |
101101

102102
## Multiple Statements and Imports
103103

0 commit comments

Comments
 (0)