Exceptions by Data Structures Java

Every concept of Java like Networking, IO Streams and Multithreading etc. comes with their bunch of exceptions. Similarly, Java Data Structures also have its own lot. Name of Exception Conditions raised IllegalStateException As the name indicates, this exception is thrown when the programmer is doing an operation that is illegal at the present moment (but …

Exceptions by Data Structures Java Read More »

Java UnsupportedOperationException

Java UnsupportedOperationException Summary: Java UnsupportedOperationException explained in simple words for a beginner. Possibility of throwing is illustrated. UnsupportedOperationException is thrown by the JVM at runtime. It is called when the method called is not supported by a data structure. java.lang.UnsupportedOperationException is paced in collections framework. Following is the class signature public class UnsupportedOperationException extends RuntimeException …

Java UnsupportedOperationException Read More »