-
Bug
-
Resolution: Done
-
Major
-
jboss-ws4ee-4.0.1
-
None
However, when I change this to contain an array of errors, I get an exception thrown on the server. For example, this does not work:
Code:
package com.danny;
public class CustomException extends Exception
{
private int[] errorCodes;
public CustomException( String message, int[] errorCodes )
{ super( message ); this.errorCodes = errorCodes; }public int[] getErrorCodes()
{ return errorCodes; }}
My deployment descriptors etc. should be fine since I don't change them when I go from the simple example to the one with the array. I just rebuild the generated files using wscompile and redeploy.