Added URLValidationErrorException class for strong typing.