logo

Crowdly

Indica todos los errores que existen en las siguientes clases:       publ...

✅ 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();

       }

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.uam.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!