java.lang.IllegalArgumentException: the age is not right0

Coderanch | Jeff Verdegan | 5 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How can I stop the object to be created

    Coderanch | 5 years ago | Jeff Verdegan
    java.lang.IllegalArgumentException: the age is not right0

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      the age is not right0

      at SuperClass.setAge()
    2. Unknown
      SuperClass.main
      1. SuperClass.setAge(SuperClass.java:14)
      2. SuperClass.<init>(SuperClass.java:5)
      3. SuperClass.main(SuperClass.java:37)
      3 frames