public static final ApiDefinitionNotFoundException apiDefinitionNotFoundException(String apiId, String version) {
        return new ApiDefinitionNotFoundException(Messages.i18n.format("ApiDefinitionDoesNotExist", apiId, version)); //$NON-NLS-1$
    }
public static final ApiDefinitionNotFoundException apiDefinitionNotFoundException ( String apiId , String version ) { return new ApiDefinitionNotFoundException ( Messages . i18n . format ( "ApiDefinitionDoesNotExist" , apiId , version ) ) ; }
Creates an exception from an API id and version.
@param apiId the API id
@param version the API version
@return the exception