|  Known Direct Subclasses 
      
      
  
        
              | AccessControlException | AccessControlExceptionis thrown if the access control infrastructure
 denies protected access due to missing permissions. |  | 
Class Overview
Thrown when a security manager check fails.
 
Summary
| Public Constructors | 
|---|
	 
    
        |  | SecurityException() Constructs a new SecurityExceptionthat includes the current
 stack trace. | 
	 
    
        |  | SecurityException(String detailMessage) Constructs a new SecurityExceptionwith the current stack trace
 and the specified detail message. | 
	 
    
        |  | SecurityException(String message, Throwable cause) Constructs a new SecurityExceptionwith the current stack trace,
 the specified detail message and the specified cause. | 
	 
    
        |  | SecurityException(Throwable cause) Constructs a new SecurityExceptionwith the current stack trace
 and the specified cause. | 
| [Expand] Inherited Methods | 
|---|
|  From class
  java.lang.Throwable | 
|  From class
  java.lang.Object 
  
   
    
    
	 
    
        | Object | clone() Creates and returns a copy of this Object. |  
        | boolean | equals(Object o) Compares this instance with the specified object and indicates if they
 are equal. |  
        | void | finalize() Invoked when the garbage collector has detected that this instance is no longer reachable. |  
        | final
            
            
            Class<?> | getClass() Returns the unique instance of  Class that represents this
 object's class. |  
        | int | hashCode() Returns an integer hash code for this object. |  
        | final
            
            
            void | notify() Causes a thread which is waiting on this object's monitor (by means of
 calling one of the wait()methods) to be woken up. |  
        | final
            
            
            void | notifyAll() Causes all threads which are waiting on this object's monitor (by means
 of calling one of the wait()methods) to be woken up. |  
        | String | toString() Returns a string containing a concise, human-readable description of this
 object. |  
        | final
            
            
            void | wait() Causes the calling thread to wait until another thread calls the notify()ornotifyAll()method of this object. |  
        | final
            
            
            void | wait(long millis, int nanos) Causes the calling thread to wait until another thread calls the notify()ornotifyAll()method of this object or until the
 specified timeout expires. |  
        | final
            
            
            void | wait(long millis) Causes the calling thread to wait until another thread calls the notify()ornotifyAll()method of this object or until the
 specified timeout expires. |  | 
 
Public Constructors
 
    
      
        public 
         
         
         
         
        
      
      SecurityException
      ()
    
      
    
      
  Constructs a new SecurityException that includes the current
 stack trace.
 
 
 
    
      
        public 
         
         
         
         
        
      
      SecurityException
      (String detailMessage)
    
      
    
      
  Constructs a new SecurityException with the current stack trace
 and the specified detail message.
      Parameters
      
        
          | detailMessage | the detail message for this exception. | 
      
   
     
 
 
    
      
        public 
         
         
         
         
        
      
      SecurityException
      (String message, Throwable cause)
    
      
    
      
  Constructs a new SecurityException with the current stack trace,
 the specified detail message and the specified cause.
      Parameters
      
        
          | message | the detail message for this exception. | 
        
          | cause | the optional cause of this exception, may be null. | 
      
   
     
 
 
    
      
        public 
         
         
         
         
        
      
      SecurityException
      (Throwable cause)
    
      
    
      
  Constructs a new SecurityException with the current stack trace
 and the specified cause.
      Parameters
      
        
          | cause | the optional cause of this exception, may be null. |