/** * UserCredentialsConfigException constructor. * * @param string $message The exception message. * @param int $code The exception code. * @param Exception|null $previous A previous exception. */ public function __construct($message = 'Undefined exception message.', $code = UserCredentialsConfigException::USER_CREDENTIALS_CONFIG_EXCEPTION_UNDEFINED, Exception $previous = null) { parent::__construct('User Credentials Config Exception: ' . $message, $code, $previous); }
/** * TokenConfigException constructor. * * @param string $message The exception message. * @param int $code The exception code. * @param Exception|null $previous A previous exception. */ public function __construct($message = 'Undefined exception message.', $code = TokenConfigException::TOKEN_CONFIG_EXCEPTION_UNDEFINED, Exception $previous = null) { parent::__construct('Token Config Exception: ' . $message, $code, $previous); }