CloneNotSupportedExceptionCloneNotSupportedException
The clone() method is called on an object whose class does not implement Cloneable.
ArrayStoreExceptionAn object of the wrong type is stored in an array.
Java arrays are covariant: a String[] can be assigned to an Object[] variable. When you try to store a non-String into the Object[] reference that actually points to a String[], this exception is thrown.
Use generics (List<T>) instead of arrays for type safety. Ensure the element type matches the actual array type. Avoid using arrays covariantly.
CloneNotSupportedExceptionThe clone() method is called on an object whose class does not implement Cloneable.
EmptyStackExceptionAn operation is attempted on an empty Stack.
MalformedURLExceptionA URL string is not in a valid format.
FileNotFoundExceptionThe specified file path does not exist or cannot be opened.
PatternSyntaxExceptionA regular expression has invalid syntax.
ClassNotFoundExceptionA class cannot be found on the classpath at runtime.