✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Indica todos los errores que existen en las siguientes clases:
public class DataException extends Exception {
protected String error;
public DataException(String msg) { error = msg; }
}
public class CorruptedDataException extends DataException {
public String toString() { return super.toString() + ":" + error; }
}
y el siguiente método:
public void cleanData(String s) throws DataException {
if ((s.contains("@"))) throw new DataException();
}
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!