All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.protege.webprotege.user.UnrecognizedUserNameException Maven / Gradle / Ivy

There is a newer version: 2.0.2-WHO
Show newest version
package edu.stanford.protege.webprotege.user;

import java.io.Serializable;

import static com.google.common.base.Preconditions.checkNotNull;

/**
 * Author: Matthew Horridge
* Stanford University
* Bio-Medical Informatics Research Group
* Date: 02/05/2013 */ public class UnrecognizedUserNameException extends RuntimeException implements Serializable { private String userName; private UnrecognizedUserNameException() { } /** * Constructs an {@link UnrecognizedUserNameException}. * @param userName The invalid user name. Not {@code null}. * @throws NullPointerException if {@code userName} is {@code null}. */ public UnrecognizedUserNameException(String userName) { this.userName = checkNotNull(userName); } public String getUserName() { return userName; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy