@Test public void testException() throws Exception { thrown.expect(TypeException.class); thrown.expectMessage("Can't get type handle, java type is 'class java.lang.StringBuffer', jdbc type is 'null'"); TypeHandlerRegistry.getTypeHandler(StringBuffer.class); }
public static <T> TypeHandler<T> getTypeHandler(Class<T> type) { return getTypeHandler(type, null); }
TypeHandlerRegistry { public static <T> TypeHandler<T> getTypeHandler(Class<T> type) { return getTypeHandler(type, null); } }
TypeHandlerRegistry { public static <T> TypeHandler<T> getTypeHandler(Class<T> type) { return getTypeHandler(type, null); }  }
TypeHandlerRegistry { public static <T> TypeHandler<T> getTypeHandler(Class<T> type) { return getTypeHandler(type, null); }  static boolean hasTypeHandler(Class<?> javaType); @Nullable static TypeHandler<T> getNullableTypeHandler(Class<T> type); static TypeHandler<T> getTypeHandler(Class<T> type); @Nullable static TypeHandler<T> getNullableTypeHandler(Class<T> type, JdbcType jdbcType); static TypeHandler<T> getTypeHandler(Class<T> type, JdbcType jdbcType); static void register(Class<T> javaType, TypeHandler<? extends T> typeHandler); static void register(Class<T> type, JdbcType jdbcType, TypeHandler<? extends T> handler); }
TypeHandlerRegistry { public static <T> TypeHandler<T> getTypeHandler(Class<T> type) { return getTypeHandler(type, null); }  static boolean hasTypeHandler(Class<?> javaType); @Nullable static TypeHandler<T> getNullableTypeHandler(Class<T> type); static TypeHandler<T> getTypeHandler(Class<T> type); @Nullable static TypeHandler<T> getNullableTypeHandler(Class<T> type, JdbcType jdbcType); static TypeHandler<T> getTypeHandler(Class<T> type, JdbcType jdbcType); static void register(Class<T> javaType, TypeHandler<? extends T> typeHandler); static void register(Class<T> type, JdbcType jdbcType, TypeHandler<? extends T> handler);  }