Class ManagedConnectionLockedException

All Implemented Interfaces:
Serializable

public class ManagedConnectionLockedException extends IllegalAccessException
A user managed mode governs asked to disconnect their CalDAV account, connect one with typed credentials, or connect another server than the designated one.

An IllegalAccessException, as the other refusals of these calls; its own type lets the REST layer answer it with 403 and its message code in the body, without changing how the other refusals are answered.

See Also:
  • Field Details

    • MESSAGE_CODE

      public static final String MESSAGE_CODE
      The message code of the refusal, carried in the 403 body.
      See Also:
  • Constructor Details

    • ManagedConnectionLockedException

      public ManagedConnectionLockedException()
      The refusal, carrying MESSAGE_CODE.