Package javaEffect

Examples of javaEffect.ErrEmptyString


      ErrNegativeNumber {

    planetList.add(this);

    if (name.isEmpty()) {
      throw new ErrEmptyString(
          "You didn't enter a name for a planet in the configuration file.");
    }
    this.name = name;

    if (size <= 0) {
View Full Code Here


  public Planet(String name, Size size) throws ErrEmptyString {

    planetList.add(this);

    if (name.isEmpty()) {
      throw new ErrEmptyString(
          "You didn't enter a name for a planet in the configuration file.");
    }
    this.name = name;

    this.character = new ArrayList<Object>();
View Full Code Here

TOP

Related Classes of javaEffect.ErrEmptyString

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.