Packages  This Package  Prev  Next  Index  

§1.43 Class SecurityException

public  class  java.lang.SecurityException
    extends  java.lang.RuntimeException  (I-§1.42)
{
        // Constructors
    public SecurityException();	§1.43.1
    public SecurityException(String  s);	§1.43.2
}
Thrown by the security manager (I-§1.15) to indicate a security violation.


Constructors

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

Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com