|  
      JavaTM Platform Standard Ed. 6  |  
    |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.security.GeneralSecurityException
public class GeneralSecurityException
      GeneralSecurityException 类是一个一般安全异常类,可以为所有从其扩展的与安全有关的异常类提供类型安全。 
| 构造方法摘要 | |
|---|---|
GeneralSecurityException() 构造不带详细消息的 GeneralSecurityException。  |  
    |
GeneralSecurityException(String msg) 构造带指定详细消息的 GeneralSecurityException。  |  
    |
GeneralSecurityException(String message, Throwable cause) 创建带指定详细消息和 cause 的 GeneralSecurityException。 |  
    |
GeneralSecurityException(Throwable cause) 用指定的原因和详细消息创建一个 GeneralSecurityException,详细消息是 (cause==null ? null:cause.toString())(它通常包含该类和 cause 的详细消息)。 |  
    |
| 方法摘要 | 
|---|
| 从类 java.lang.Throwable 继承的方法 | 
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |  
    
| 从类 java.lang.Object 继承的方法 | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |  
    
| 构造方法详细信息 | 
|---|
public GeneralSecurityException()
public GeneralSecurityException(String msg)
msg - 详细消息。
     
public GeneralSecurityException(String message,
                                Throwable cause) 
  GeneralSecurityException。 
    
message - 详细消息(保存此消息,以便以后通过 
      Throwable.getMessage() 方法获取它)。
     cause - cause(保存它以便以后通过 
      Throwable.getCause() 方法获取)。(允许使用 
      null 值,指示 cause 不存在或未知。)
     public GeneralSecurityException(Throwable cause)
GeneralSecurityException,详细消息是 
    (cause==null ? null:cause.toString())(它通常包含该类和 
    cause 的详细消息)。 
    
cause - cause(保存它以便以后通过 
      Throwable.getCause() 方法获取)。(允许使用 
      null 值,指示 cause 不存在或未知。)
      
        
      
  |  
      JavaTM Platform Standard Ed. 6  |  
    |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。