if(UserNameAlreadyExists(username))
{
throw new Exception("Username already exists");
}
if(EmailAlreadyExists(email))
{
throw new Exception("Email already exists");
}
This will answer your question.
However, exception handling should not be used to perform such checks. Exceptions are expensive and are intended for exceptional circumstances when you cannot recover from an error.