Class NoSuchChildException

  • All Implemented Interfaces:
    java.io.Serializable

    public class NoSuchChildException
    extends java.lang.RuntimeException
    Thrown by Config.get(java.lang.String) when a child node with the given name does not exist, or when the current config node is a leaf node.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NoSuchChildException​(java.lang.String message, java.lang.String childName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getChildName()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • NoSuchChildException

        public NoSuchChildException​(java.lang.String message,
                                    java.lang.String childName)
    • Method Detail

      • getChildName

        public java.lang.String getChildName()