1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
<?php
namespace JRA\Exceptions;
use Exception;
class UserCredentialsConfigException extends AuthenticationConfigException
{
const USER_CREDENTIALS_CONFIG_EXCEPTION_UNDEFINED = 57200;
const USER_CREDENTIALS_CONFIG_EXCEPTION_NOT_ENABLED = 57201;
const USER_CREDENTIALS_CONFIG_EXCEPTION_USER_CREDENTIALS_NOT_SET = 57202;
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);
}
}