Package wt.org
Class PrincipalRepairFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.WTException
wt.org.OrganizationServicesException
wt.org.PrincipalRepairFailedException
- All Implemented Interfaces:
Serializable,LocalizableMessage,Message
public class PrincipalRepairFailedException
extends OrganizationServicesException
implements Serializable
PrincipalRepairFailedException captures errors that occur when attempts to repair disconnected principals fail.
If the failures involve multiple principals, this exception can be used to track each failed principal
and the corresponding cause of failure (it's underlying exception).
Supported API: true
Extendable: false
Supported API: true
Extendable: false
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionNo arguments constructor.PrincipalRepairFailedException(Exception e, String rb, String key, Object[] params, WTPrincipal failedPrincipal) Constructs exception with a nested exception and localizable message, for a principal whose repair failed.PrincipalRepairFailedException(Exception e, WTPrincipal failedPrincipal) Constructs exception for a principal whose repair failed, and cause of failure.PrincipalRepairFailedException(HashMap<WTPrincipal, Exception> failedPrincipalsAndCauses) Constructs exception with a map of principals whose repair failed, and cause of failure. -
Method Summary
Modifier and TypeMethodDescriptionReturns the principals whose repair failed, and the corresponding exceptions.Methods inherited from class wt.util.WTException
getAdditionalMessageArray, getAdditionalMessages, getAdditionalMessages, getLocalizedMessage, getLocalizedMessage, getLocalizedMessage, getNestedExceptionString, getNestedExceptionString, getNestedThrowable, getStandardMessage, getStandardMessage, getWTMessage, printStackTrace, printStackTrace, printStackTrace, toString, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Constructor Details
-
PrincipalRepairFailedException
public PrincipalRepairFailedException()No arguments constructor.
Supported API: true -
PrincipalRepairFailedException
Constructs exception for a principal whose repair failed, and cause of failure.
Supported API: true- Parameters:
e-
-
PrincipalRepairFailedException
Constructs exception with a map of principals whose repair failed, and cause of failure.
Supported API: true- Parameters:
e-msg-
-
PrincipalRepairFailedException
public PrincipalRepairFailedException(Exception e, String rb, String key, Object[] params, WTPrincipal failedPrincipal) Constructs exception with a nested exception and localizable message, for a principal whose repair failed.
Supported API: true- Parameters:
e-rb-key-params-
-
-
Method Details
-
getFailedPrincipalsAndCauses
Returns the principals whose repair failed, and the corresponding exceptions.
Supported API: true- Returns:
-