304305306307308309310311312313314
pa.setFunctionSignature(new ArgsFunctionSignature(args)); pa.setLiterals(new Literal[]{ new StringLiteral("/{$arg1}") }); ErrorCode code = null; try { pa.initialise(); } catch(final RestAnnotationException rae) { code = rae.getErrorCode(); }