yarfraw.utils
Class ValidationUtils
java.lang.Object
yarfraw.utils.ValidationUtils
public class ValidationUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validateNotNull
public static void validateNotNull(String message,
Object... o)
throws ValidationException
- Throws:
ValidationException
validateUri
public static void validateUri(String message,
String... uri)
throws ValidationException
- Throws:
ValidationException
validateEmails
public static void validateEmails(String message,
String... emails)
throws ValidationException
- Validation methods for emails.
- Parameters:
message
- - A custom message for the ValidationExceptionemails
-
- Throws:
ValidationException
- - if any of the input emails are not valid.
Copyright © 2008. All Rights Reserved.