com.microsoft.tfs.core.checkinpolicies
Class PolicyLoaderException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.microsoft.tfs.core.exceptions.TECoreException
com.microsoft.tfs.core.exceptions.TEClientException
com.microsoft.tfs.core.clients.versioncontrol.exceptions.VersionControlException
com.microsoft.tfs.core.checkinpolicies.PolicyLoaderException
- All Implemented Interfaces:
- java.io.Serializable
public class PolicyLoaderException
- extends VersionControlException
Thrown when a PolicyLoader
encounters a problem.
- See Also:
- Serialized Form
- Since:
- TEE-SDK-10.1
- Thread-safety:
- thread-safe
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PolicyLoaderException
public PolicyLoaderException(java.lang.String message,
java.lang.Throwable cause,
PolicyType policyType)
- Creates a
PolicyLoaderException
with detailed information and the
PolicyType
that could not be loaded.
- Parameters:
message
- the messagecause
- the causepolicyType
- the policy type that could not be loaded (must not be
null
)
PolicyLoaderException
public PolicyLoaderException(java.lang.String message,
PolicyType policyType)
- Creates a
PolicyLoaderException
with detailed information and the
PolicyType
that could not be loaded.
- Parameters:
message
- the messagepolicyType
- the policy type that could not be loaded (must not be
null
)
PolicyLoaderException
public PolicyLoaderException(java.lang.Throwable cause,
PolicyType policyType)
- Creates a
PolicyLoaderException
with detailed information and the
PolicyType
that could not be loaded.
- Parameters:
cause
- the causepolicyType
- the policy type that could not be loaded (must not be
null
)
getPolicyType
public PolicyType getPolicyType()
- Returns:
- the
PolicyType
that failed to load. May be null if the
error wasn't caused by a specific policy.
© 2015 Microsoft. All rights reserved.