Java

Java : Error handling: exception when argument is null or empty string

Classification

Overview



The method generates an exception when argument takes one of the values Null or "" (empty string). To prevent exceptions it is recommended to check values of parameters.

LOW

DerScanner Severity Score

Check your Java code for this vulnerability, free

Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.

Try it on your code, free

By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.