134135136137138139140
return adapter; } protected void throwTypeNotFoundException(final String name, final Throwable cause) { throw new TypeNotFoundException("Unable to find the type \"" + name + "\".", cause); }
244245246247248249250251252
} public Type getType(final String name) { final Type type = this.findType(name); if (null == type) { throw new TypeNotFoundException("Unable to find type \"" + name + "\"."); } return type; }