Javadoc for PSException mentions an “error string properties file” where message codes and parameterized messages are specified.
Where is this file?
Is a Rx restart needed for changes to this file?
I need to throw a PSExtensionProcessingException and would like to do this properly.
THANKS
dbenua
2
The message properties file is baked into rxserver.jar, and I don’t think you can change it.
What I usually do is call one of the constructors that takes a “Message” parameter rather than a message code.
new PSExtensionProcessingException(new PSException("something is wrong"))
If your code is responding to a previous exception, make sure you pass this exception as the “cause” parameter.
Dave