|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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
public class PolicyLoaderException
Thrown when a PolicyLoader
encounters a problem.
Constructor Summary | |
---|---|
PolicyLoaderException(java.lang.String message,
PolicyType policyType)
Creates a PolicyLoaderException with detailed information and the
PolicyType that could not be loaded. |
|
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. |
|
PolicyLoaderException(java.lang.Throwable cause,
PolicyType policyType)
Creates a PolicyLoaderException with detailed information and the
PolicyType that could not be loaded. |
Method Summary | |
---|---|
PolicyType |
getPolicyType()
|
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 |
Constructor Detail |
---|
public PolicyLoaderException(java.lang.String message, java.lang.Throwable cause, PolicyType policyType)
PolicyLoaderException
with detailed information and the
PolicyType
that could not be loaded.
message
- the messagecause
- the causepolicyType
- the policy type that could not be loaded (must not be
null
)public PolicyLoaderException(java.lang.String message, PolicyType policyType)
PolicyLoaderException
with detailed information and the
PolicyType
that could not be loaded.
message
- the messagepolicyType
- the policy type that could not be loaded (must not be
null
)public PolicyLoaderException(java.lang.Throwable cause, PolicyType policyType)
PolicyLoaderException
with detailed information and the
PolicyType
that could not be loaded.
cause
- the causepolicyType
- the policy type that could not be loaded (must not be
null
)Method Detail |
---|
public PolicyType getPolicyType()
PolicyType
that failed to load. May be null if the
error wasn't caused by a specific policy.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |