bpiwowar.argparser
Class IllegalArgumentValue

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by bpiwowar.argparser.ArgParserException
              extended by bpiwowar.argparser.IllegalArgumentValue
All Implemented Interfaces:
Serializable

public class IllegalArgumentValue
extends ArgParserException

Exception thrown when an argument has a not valid value (i.e., value out of bound, etc.)

Author:
B. Piwowarski
See Also:
Serialized Form

Constructor Summary
IllegalArgumentValue(Exception e)
           
IllegalArgumentValue(String s)
           
IllegalArgumentValue(String format, Object... values)
          Construct the exception using string formatting
IllegalArgumentValue(String s, Throwable e)
           
 
Method Summary
 void setField(String field)
           
 String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IllegalArgumentValue

public IllegalArgumentValue(String s)
Parameters:
e -

IllegalArgumentValue

public IllegalArgumentValue(Exception e)
Parameters:
e -

IllegalArgumentValue

public IllegalArgumentValue(String s,
                            Throwable e)
Parameters:
string -
e -

IllegalArgumentValue

public IllegalArgumentValue(String format,
                            Object... values)
Construct the exception using string formatting

Parameters:
format - The format string
values - The values
Method Detail

setField

public void setField(String field)

toString

public String toString()
Overrides:
toString in class Throwable


Copyright © 2013. All Rights Reserved.