Package org.keycloak.connections.jpa
Class JpaExceptionConverter
java.lang.Object
org.keycloak.connections.jpa.JpaExceptionConverter
- All Implemented Interfaces:
EnvironmentDependentProviderFactory,ExceptionConverter,Provider,ProviderFactory<ExceptionConverter>
public class JpaExceptionConverter
extends Object
implements ExceptionConverter, EnvironmentDependentProviderFactory
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactory
isSupportedMethods inherited from interface org.keycloak.provider.ExceptionConverter
close, create, init, postInitMethods inherited from interface org.keycloak.provider.ProviderFactory
getConfigMetadata, order
-
Constructor Details
-
JpaExceptionConverter
public JpaExceptionConverter()
-
-
Method Details
-
convert
Description copied from interface:ExceptionConverterReturn null if the provider doesn't handle this type- Specified by:
convertin interfaceExceptionConverter- Returns:
-
getId
- Specified by:
getIdin interfaceProviderFactory<ExceptionConverter>
-
isSupported
public boolean isSupported()- Specified by:
isSupportedin interfaceEnvironmentDependentProviderFactory- Returns:
trueif the provider is supported and should be available,falseotherwise
-