模块  java.base
软件包  java.security.acl

Class NotOwnerException

  • 实现的所有接口
    Serializable

    @Deprecated(since="9",
                forRemoval=true)
    public class NotOwnerException
    extends 异常
    Deprecated, for removal: This API element is subject to removal in a future version.
    This class is deprecated and subject to removal in a future version of Java SE. It has been replaced by java.security.Policy and related classes since 1.2.
    每当对象(例如访问控制列表)的修改仅允许由对象的所有者完成时,抛出此异常,但尝试修改的Principal不是所有者。
    从以下版本开始:
    1.1
    另请参见:
    Serialized Form
    • 构造方法详细信息

      • NotOwnerException

        public NotOwnerException()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Constructs a NotOwnerException.