Skip to content

Tag Archives: Java-Exceptions

Serialization in Java is a mechanism of writing the state of an object into a byte-stream. It is mainly used in Hibernate, RMI, JPA, EJB,… Read More
The class ClosedChannelException is invoked when an I/O operation is attempted on a closed channel or a channel that is closed to the attempted operation.… Read More
In the Restful Web services application, we parse a JSON request string which is then mapped to a java class. The JSON string is unmarshalled… Read More
The class StreamCorruptedException of ObjectStreamException is an exception thrown when control information that was read from an object stream violates internal consistency checks. It will… Read More
ConcurrentModificationException is a predefined Exception in Java, which occurs while we are using Java Collections,  i.e whenever we try to modify an object concurrently without… Read More
ConcurrentModificationException has thrown by methods that have detected concurrent modification of an object when such modification is not permissible. If a thread modifies a collection… Read More
An unaccepted, unwanted event that disturbed the normal flow of a program is called an Exception. Most of the time exception is caused by our… Read More
java.net.ConnectException: Connection refused: connect is the most frequent kind of occurring networking exception in Java whenever the software is in client-server architecture and trying to… Read More
There are several problems been faced which are as follows: When you write an object in a file using serialization in java for the first… Read More
ClassCastException in Java occurs when we try to convert the data type of entry into another. This is related to the type conversion feature and… Read More
ClassNotFoundException is a checked exception and occurs when the Java Virtual Machine (JVM) tries to load a particular class and the specified class cannot be… Read More
The UnsupportedOperationException is one of the common exceptions that occur when we are working with some API of list implementation. It is thrown to indicate… Read More
An unexcepted, unwanted event that disturbed the normal flow of a program is called Exception. Most of the time exception is caused by our program… Read More
The java.net.BindException is an exception that is thrown when there is an error caused in binding when an application tries to bind a socket to… Read More
An unexcepted, unwanted event that disturbed the normal flow of a program is called Exception. Most of the time exceptions are caused by our program… Read More