ch.javasoft.xml.config
Class XmlArgException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by ch.javasoft.xml.config.XmlConfigException
              extended by ch.javasoft.xml.config.XmlArgException
All Implemented Interfaces:
Serializable

public class XmlArgException
extends XmlConfigException

The XmlArgException is thrown when an input argument or option is missing or of wrong format.

See Also:
Serialized Form

Field Summary
static String ARG
           
 
Constructor Summary
XmlArgException(int argIndex, String message, Element path)
           
XmlArgException(int argIndex, String message, String path)
           
XmlArgException(String option, int argIndex, String message, Element path)
           
XmlArgException(String option, int argIndex, String message, String path)
           
XmlArgException(String option, String message, Element path)
           
XmlArgException(String option, String message, String path)
           
 
Method Summary
 int getArgIndex()
           
 String getOption()
           
 String getOptionWithIndex()
           
 boolean isOption()
           
 
Methods inherited from class ch.javasoft.xml.config.XmlConfigException
getLocalizedMessage, getPath
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ARG

public static final String ARG
See Also:
Constant Field Values
Constructor Detail

XmlArgException

public XmlArgException(int argIndex,
                       String message,
                       Element path)

XmlArgException

public XmlArgException(String option,
                       String message,
                       Element path)

XmlArgException

public XmlArgException(String option,
                       int argIndex,
                       String message,
                       Element path)

XmlArgException

public XmlArgException(int argIndex,
                       String message,
                       String path)

XmlArgException

public XmlArgException(String option,
                       String message,
                       String path)

XmlArgException

public XmlArgException(String option,
                       int argIndex,
                       String message,
                       String path)
Method Detail

getOption

public String getOption()

isOption

public boolean isOption()

getOptionWithIndex

public String getOptionWithIndex()

getArgIndex

public int getArgIndex()