@Override
    public String getCode() {
        return CODE;
    }
Creates a new instance.

@param message          Error message.
@param handlerErrors    Map of handler names to errors.
@param handlerSuccesses Map of handler names to authentication successes.
api/cas-server-core-api-authentication/src/main/java/org/apereo/cas/authentication/PrincipalException.java