private static SemanticException createUnsupportedStorageHandlerTypeError(ASTNode node, Throwable cause) {
    final String supportedTypes = StorageHandlerTypes
        .NON_DEFAULT_TYPES
        .stream()
        .map(Enum::toString)
        .collect(Collectors.joining(", "));
    return new SemanticException(String.format(
        "The storage handler specified in the STORED BY clause is not recognized: %s. Please use one of the supported "
            + "types, which are %s, or provide the Fully Qualified Class Name (FQCN) of a valid storage handler.",
        node.getText(), supportedTypes
    ), cause);
  }
Returns true if the passed token was a storage format token
and thus was processed accordingly.
ql/src/java/org/apache/hadoop/hive/ql/parse/StorageFormat.java