PolicyContextException (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.security.jacc Class PolicyContextException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.security.jacc.PolicyContextException
所有已实现的接口:
Serializable

public class PolicyContextException
extends Exception

This checked exception is thrown by implementations of the javax.security.jacc.PolicyConfiguration Interface, the javax.security.jacc.PolicyConfigurationFactory abstract class, the javax.security.jacc.PolicyContext utility class, and implementations of the javax.security.jacc.PolicyContextException Interface.

This exception is used by javax.security.jacc implementation classes to rethrow checked exceptions ocurring within an implementation that are not declared by the interface or class being implemented.

作者:
Ron Monzillo, Gary Ellison
另请参见:
Exception, PolicyConfiguration, PolicyConfigurationFactory, PolicyContext, PolicyContextHandler, Serialized Form

构造器摘要
PolicyContextException()
          Constructs a new PolicyContextException with null as its detail message.
PolicyContextException(String msg)
          Constructs a new PolicyContextException with the specified detail message
PolicyContextException(String msg, Throwable cause)
          Constructs a new PolicyContextException with the specified detail message and cause.
PolicyContextException(Throwable cause)
          Constructs a new PolicyContextException with the specified 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
 

构造器详细信息

PolicyContextException

public PolicyContextException()
Constructs a new PolicyContextException with null as its detail message. describing the cause of the exception.


PolicyContextException

public PolicyContextException(String msg)
Constructs a new PolicyContextException with the specified detail message

参数:
msg - - a String containing a detail message describing the cause of the exception.


PolicyContextException

public PolicyContextException(String msg,
                              Throwable cause)
Constructs a new PolicyContextException with the specified detail message and cause. The cause will be encapsulated in the constructed exception.

参数:
msg - - a String containing a detail message describing the cause of the exception.
cause - - the Throwable that is "causing" this exception to be constructed. A null value is permitted, and the value passed through this parameter may subsequently be retrieved by calling getCause() on the constructed exception.


PolicyContextException

public PolicyContextException(Throwable cause)
Constructs a new PolicyContextException with the specified cause. The cause will be encapsulated in the constructed exception.

参数:
cause - - the Throwable that is "causing" this exception to be constructed. A null value is permitted, and the value passed through this parameter may subsequently be retrieved by calling getCause() on the constructed exception.


Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.