com.microsoft.tfs.core.checkinpolicies
Class PolicyExceptionFailure

java.lang.Object
  extended by com.microsoft.tfs.core.checkinpolicies.PolicyFailure
      extended by com.microsoft.tfs.core.checkinpolicies.PolicyExceptionFailure

public class PolicyExceptionFailure
extends PolicyFailure

A type of policy evaluation failure caused by an uncaught exception in the framework. Policy implementations should not return these, so the constructors are protected.

Since:
TEE-SDK-10.1
Thread-safety:
immutable

Constructor Summary
protected PolicyExceptionFailure(PolicyInstance policy, PolicyContext context, java.lang.Exception exception)
          Creates a PolicyExceptionFailure
 
Method Summary
 
Methods inherited from class com.microsoft.tfs.core.checkinpolicies.PolicyFailure
getMessage, getPolicy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyExceptionFailure

protected PolicyExceptionFailure(PolicyInstance policy,
                                 PolicyContext context,
                                 java.lang.Exception exception)
Creates a PolicyExceptionFailure

Parameters:
policy - the policy (must not be null)
context - the context (must not be null)
exception - the exception (must not be null)


© 2015 Microsoft. All rights reserved.