Class RegistrationLockException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class RegistrationLockException
    extends RegistrationException
                        

    Thrown when a registration request is made for an account that has registration lock enabled.

    When the websocket transport is in use, this corresponds to a HTTP 423 response to a POST request to /v1/registration.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Duration getTimeRemaining() Time remaining before the existing registration lock expires.
      String getSvr2Username() SVR username to use to recover the secret used to derive the registration lock password.
      String getSvr2Password() SVR password to use to recover the secret used to derive the registration lock password.
      String toString()
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait