public JClassType getType( String type ) throws UnableToCompleteException {
        try {
            return typeOracle.getType( type );
        } catch ( NotFoundException e ) {
            logger.log( TreeLogger.ERROR, "TypeOracle could not find " + type );
            throw new UnableToCompleteException();
        }
    }
public JClassType getType ( String type ) throws UnableToCompleteException { try { return typeOracle . getType ( type ) ; } catch ( NotFoundException e ) { logger . log ( TreeLogger . ERROR , "TypeOracle could not find " + type ) ; throw new UnableToCompleteException ( ) ; } }
<p>getType</p>

@param type a {@link java.lang.String} object.
@return a {@link com.google.gwt.core.ext.typeinfo.JClassType} object.
@throws com.google.gwt.core.ext.UnableToCompleteException if any.