FileDocCategorySizeDatePackage
MyGuard.javaAPI DocAndroid 1.5 API1276Wed May 06 22:41:06 BST 2009org.apache.harmony.security.tests.support

MyGuard

public class MyGuard extends Object implements Serializable, Guard

Fields Summary
private static final long
serialVersionUID
final boolean
enabled
Constructors Summary
public MyGuard(boolean state)


       
        enabled = state;
    
Methods Summary
public voidcheckGuard(java.lang.Object object)

        if (!enabled) {
            throw new SecurityException();
        }