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

org.xins.server.ParameterNotInitializedException Maven / Gradle / Ivy

There is a newer version: 3.0
Show newest version
/*
 * $Id: ParameterNotInitializedException.java,v 1.15 2007/09/18 08:45:05 agoubard Exp $
 *
 * Copyright 2003-2007 Orange Nederland Breedband B.V.
 * See the COPYRIGHT file for redistribution and use restrictions.
 */
package org.xins.server;

import org.xins.common.MandatoryArgumentChecker;

/**
 * Exception that indicates that it is attempted to get the value of a
 * parameter that has not been set.
 *
 * @version $Revision: 1.15 $ $Date: 2007/09/18 08:45:05 $
 * @author Anthony Goubard
 *
 * @since XINS 1.0.0
 */
public class ParameterNotInitializedException extends RuntimeException {

   /**
    * Constructs a new ParameterNotInitializedException for the
    * specified parameter.
    *
    * @param paramName
    *    the name of the parameter that is attempted to be retrieved, cannot
    *    be null.
    *
    * @throws IllegalArgumentException
    *    if paramName == null.
    */
   public ParameterNotInitializedException(String paramName)
   throws IllegalArgumentException {
      super(paramName);

      // Check argument
      MandatoryArgumentChecker.check("paramName", paramName);
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy