<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I'm implementing my own REST endpoint using RealmResourceProvider
and I'm thinking how to perform error handling (which is not covered
in example).<br>
Is it possible to register my javax.ws.rs.ext.ExceptionMapper
subclass to handle my exceptions? I tried to add subclass of it
annotated with javax.ws.rs.ext.Provider into my code but it is not
used.<br>
I get common error page with:<br>
<br>
<b>Stack Trace</b><br>
org.jboss.resteasy.spi.UnhandledException:
com.redhat.developer.keycloak.rest.InvalidParametersException: email
param must be specified<br>
<br>
Thansk in advance.<br>
<br>
Vlastimil<br>
<br>
<pre class="moz-signature" cols="72">--
Vlastimil Elias
Principal Software Engineer
Red Hat Developer | Engineering</pre>
</body>
</html>