Create a class named BadRequestException with the constructor that takes String message as an argument and passes the message to the superclass. The BadRequestException class must inherit from a checked exception.
Hierarchy of exceptions
BadRequestException
Report a typo
Write a program in Java 17
// update the class
class BadRequestException extends ...{
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.