Package wt.org

Class 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
See Also:
  • Constructor Details

    • PrincipalRepairFailedException

      public PrincipalRepairFailedException()
      No arguments constructor.

      Supported API: true
    • PrincipalRepairFailedException

      public PrincipalRepairFailedException(Exception e, WTPrincipal failedPrincipal)
      Constructs exception for a principal whose repair failed, and cause of failure.

      Supported API: true
      Parameters:
      e -
    • PrincipalRepairFailedException

      public PrincipalRepairFailedException(HashMap<WTPrincipal,Exception> failedPrincipalsAndCauses)
      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

      public HashMap<WTPrincipal,Exception> getFailedPrincipalsAndCauses()
      Returns the principals whose repair failed, and the corresponding exceptions.

      Supported API: true
      Returns: