java.lang
Class SecurityException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.SecurityException
Direct Known Subclasses:
ControlledAccessException

public class SecurityException
extends RuntimeException

Thrown by the security manager to indicate a security violation.

Since:
JDK1.0

Constructor Summary
SecurityException()
          Constructs a SecurityException with no detail message.
SecurityException(String s)
          Constructs a SecurityException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 



Constructor Detail

SecurityException

public SecurityException()
Constructs a SecurityException with no detail message.


SecurityException

public SecurityException(String s)
Constructs a SecurityException with the specified detail message.

Parameters:
s - the detail message.





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal