no entiendi muy bien por que lo tengo que extender de RuntimeException si Throwable es la madre y puede acceder a las hijas
package com.alura.screenmatch.excepcion;
public class ErrorEnConversionDeDuracionException extends RuntimeException {
private String mensaje;
public ErrorEnConversionDeDuracionException(String mensaje) {
this.mensaje = mensaje;
}
@Override
public String getMessage() {
return this.mensaje;
}
}