Category Archives: Java Exception Handling

Java Exception Handling

Java Exception Handling – InputMismatchException

Moving along through our in-depth Java Exception Handling series, today we’ll be examining the InputMismatchException. The InputMismatchException is thrown when attempting to retrieve a token using the text Scanner class that doesn’t match the expected pattern or type. In this article we’ll explore the InputMismatchException in more detail by first… continue reading →

Java Exception Handling

Java Exception Handling – AbstractMethodError

Moving along through our in-depth Java Exception Handling series, today we’ll be going over the AbstractMethodError. This error is thrown when there are incompatibilities between compiled classes/JAR files using abstract methods. Throughout this article we’ll examine the AbstractMethodError by looking at where it fits into the overall Java Exception Hierarchy…. continue reading →

Java Exception Handling

Java Exception Handling – MalformedURLException

Moving along through the in-depth Java Exception Handling series we’ve been going through, we next arrive at the MalformedURLException. A MalformedURLException is thrown when the built-in URL class encounters an invalid URL; specifically, when the protocol that is provided is missing or invalid. In today’s article we’ll examine the MalformedURLException… continue reading →

Java Exception Handling

Java Exception Handling – NotSerializableException

Continuing along through our in-depth Java Exception Handling series, today we’ll be looking into the NotSerializableException. The NotSerializableException is thrown when attempting to serialize or deserialize an object that does not implement the java.io.Serializable interface. Throughout this article we’ll get into the nitty gritty of the NotSerializableException, starting with where… continue reading →