Pretty new to Java and trying to practice writing unit tests. I have a few similar custom exceptions to the below and wondering what way I can write a test to cover this.
public class ExampleException extends RuntimeException{
public ExampleException(String message, Throwable e) {
super(message, e);
}
}