Package dalvik.system

Class BlockGuard.BlockGuardPolicyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dalvik.system.BlockGuard.BlockGuardPolicyException
All Implemented Interfaces:
Serializable
Enclosing class:
BlockGuard

public static class BlockGuard.BlockGuardPolicyException
extends RuntimeException
See Also:
Serialized Form
  • Constructor Details

    • BlockGuardPolicyException

      public BlockGuardPolicyException​(int policyState, int policyViolated)
    • BlockGuardPolicyException

      public BlockGuardPolicyException​(int policyState, int policyViolated, String message)
  • Method Details

    • getPolicy

      public int getPolicy()
    • getPolicyViolation

      public int getPolicyViolation()
    • getMessage

      public String getMessage()
      Description copied from class: Throwable
      Returns the detail message which was provided when this Throwable was created. Returns null if no message was provided at creation time.
      Overrides:
      getMessage in class Throwable