Commit 31acd101 authored by Florian Schmaus's avatar Florian Schmaus

Merge pull request #18 from sco0ter/master

OF-811 Remove deprecated xml-not-well-formed error in favor of not-well-...
parents f20aa875 1948a734
...@@ -144,7 +144,7 @@ public abstract class ConnectionHandler extends IoHandlerAdapter { ...@@ -144,7 +144,7 @@ public abstract class ConnectionHandler extends IoHandlerAdapter {
// PIO-524: Determine stream:error message. // PIO-524: Determine stream:error message.
final StreamError error; final StreamError error;
if (cause.getCause() != null && cause.getCause() instanceof XMLNotWellFormedException) { if (cause.getCause() != null && cause.getCause() instanceof XMLNotWellFormedException) {
error = new StreamError(StreamError.Condition.xml_not_well_formed); error = new StreamError(StreamError.Condition.not_well_formed);
} else { } else {
error = new StreamError(StreamError.Condition.internal_server_error); error = new StreamError(StreamError.Condition.internal_server_error);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment