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 SummaryConstructors Constructor Description JpaExceptionConverter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwableconvert(Throwable e)Return null if the provider doesn't handle this typeStringgetId()booleanisSupported()- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.keycloak.provider.EnvironmentDependentProviderFactoryisSupported
 - 
Methods inherited from interface org.keycloak.provider.ExceptionConverterclose, create, init, postInit
 - 
Methods inherited from interface org.keycloak.provider.ProviderFactorygetConfigMetadata, order
 
- 
 
- 
- 
- 
Method Detail- 
convertpublic Throwable convert(Throwable e) Description copied from interface:ExceptionConverterReturn null if the provider doesn't handle this type- Specified by:
- convertin interface- ExceptionConverter
- Returns:
 
 - 
getIdpublic String getId() - Specified by:
- getIdin interface- ProviderFactory<ExceptionConverter>
 
 - 
isSupportedpublic boolean isSupported() - Specified by:
- isSupportedin interface- EnvironmentDependentProviderFactory
- Returns:
- trueif the provider is supported and should be available,- falseotherwise
 
 
- 
 
-