Skip to content

Tag: illegalargumentexception

parsing csv file dealing with empty value java

I am new to java and practicing parsing csv file. I’ve figured out how to parse and use a constructor to create an instance. However, there are empty strings in my csv file, and the console just throw IllegalArgumentException: No enum constant to me. I’ve referred to: enum valueOf IllegalArgumentE…