ESBCOMP-59 Catch TransformerException to throw SubLanguageExecutionFault
parent
afe19d7058
commit
4534edaa57
|
@ -104,7 +104,10 @@ public class DoXslTransformFunction implements Function {
|
|||
catch (StandardException e) {
|
||||
// if it is StandardException propagate it
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
catch (TransformerException e) {
|
||||
throw new StandardException(StandardException.Fault.SubLanguageExecutionFault);
|
||||
}
|
||||
catch (Exception e) {
|
||||
// Convert to a runtime exception and propagate it. It will treated
|
||||
// as a system exception.
|
||||
|
|
Loading…
Reference in New Issue