Class ThrowableConverter.Factory
- java.lang.Object
-
- com.oracle.coherence.io.json.internal.ThrowableConverter.Factory
-
- Enclosing class:
- ThrowableConverter
public static class ThrowableConverter.Factory extends Object implements Factory<Converter<? extends Throwable>>
AFactoryfor creating instances ofThrowableConverter.
-
-
Field Summary
Fields Modifier and Type Field Description static ThrowableConverter.FactoryINSTANCEA singletonFactoryinstance.
-
Constructor Summary
Constructors Modifier Constructor Description protectedFactory()Creates a newFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Converter<? extends Throwable>create(Type type, Genson genson)Implementations of this method must try to create an instance of type T based on the parameter "type".
-
-
-
Field Detail
-
INSTANCE
public static final ThrowableConverter.Factory INSTANCE
A singletonFactoryinstance.
-
-
Method Detail
-
create
public Converter<? extends Throwable> create(Type type, Genson genson)
Description copied from interface:FactoryImplementations of this method must try to create an instance of type T based on the parameter "type". If this factory can not create an object of type T for parameter type then it must return null.
-
-