Write a statement that throws an IOException with the customized message “really BAD data”.

LANGUAGE: JAVA

CHALLENGE:

Write a statement that throws an IOException with the customized message “really BAD data”.

SOLUTION:

throw new IOException("really BAD data");