Package Summary  Overview Summary

class:Guard [CHANGED]

method:checkGuard(java.lang.Object) [NONE]

  • checkGuard

    void checkGuard​(Object object)
             throws SecurityException
    
    Determines whether or not to allow access to the guarded object object. Returns silently if access is allowed. Otherwise, throws a SecurityException.
    Parameters:
    object - the object being protected by the guard.
    Throws:
    SecurityException - if access is denied.

© 2018 Oracle Corporation and/or its affiliates