M
Martin Demberger
Am Fri, 14 Aug 2009 10:30:31 -0700 (PDT) schrieb Adam Wozniak:
If your call of the method is done via an interface you can write a proxy
that handles the exception and adds all parameters.
I don't have an development environment arround, so I am not able to give
you an example. Sorry...
cu Martin
Hello
Is it possible to get (automatically / magically) values passed to a
method as its arguments?
Example:
void myMethod(int a, int b)
{
String arguments = ´All arguments: ´ + getAllArguments();
System.out.println();
}
Output:
All arguments: int a=1, int b=2
Somebody knows how to implement getAllArguments method?
Kind regards,
Adam Wozniak
If your call of the method is done via an interface you can write a proxy
that handles the exception and adds all parameters.
I don't have an development environment arround, so I am not able to give
you an example. Sorry...
cu Martin