protected JavaType _typeFromId(String id, DatabindContext ctxt) throws IOException { JavaType t = ctxt.resolveSubType(_baseType, id); if (t == null) { if (ctxt instanceof DeserializationContext) { // First: we may have problem handlers that can deal with it? return ((DeserializationContext) ctxt).handleUnknownTypeId(_baseType, id, this, "no such class found"); } // ... meaning that we really should never get here. } return t; }
protected JavaType _typeFromId(String id, DatabindContext ctxt) throws IOException { JavaType t = ctxt.resolveSubType(_baseType, id); if (t == null) { if (ctxt instanceof DeserializationContext) { // First: we may have problem handlers that can deal with it? return ((DeserializationContext) ctxt).handleUnknownTypeId(_baseType, id, this, "no such class found"); } // ... meaning that we really should never get here. } return t; }