0 / 60 seg.

How can custom exceptions be created in Java?

class MyException extends Exception {
}