SecurityException is thrown when an application tries to perform a security-sensitive operation it is not authorized to perform. This can occur when the JVM loads a class file and contains code that attempts to perform a security-sensitive operation.
Find out how to deal with a SecurityException in Java