AccessLocalException (Java EE 5)

Java EE API


javax.ejb Class AccessLocalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.ejb.EJBException
                  extended by javax.ejb.AccessLocalException
All Implemented Interfaces:
Serializable

public class AccessLocalException
extends EJBException

Extends: Throwable > Exception > RuntimeException > EJBException

抛出 AccessLocalException 指示调用者没有调用该方法的权限。此异常向本地客户端抛出。
英文文档:

An AccessLocalException is thrown to indicate that the caller does not have permission to call the method. This exception is thrown to local clients.

See Also:
Serialized Form

Constructor Summary
 
Method Summary
 
Methods inherited from class javax.ejb.EJBException
 
Methods inherited from class java.lang.Throwable
 
Methods inherited from class java.lang.Object
 

Constructor Detail

public AccessLocalException()
构造不带详细消息的 AccessLocalException。
英文文档:

AccessLocalException

public AccessLocalException()
Constructs an AccessLocalException with no detail message.


public AccessLocalException(String message)
构造带指定详细消息的 AccessLocalException。
英文文档:

AccessLocalException

public AccessLocalException(String message)
Constructs an AccessLocalException with the specified detail message.


public AccessLocalException(String message, Exception ex)
构造带指定详细消息和嵌入异常的 AccessLocalException。
英文文档:

AccessLocalException

public AccessLocalException(String message,
                            Exception ex)
Constructs an AccessLocalException with the specified detail message and a nested exception.



Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!