org.schmant.arg
Class ArgumentInterpretationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.schmant.lang.SchmantException
                  extended by org.schmant.arg.ArgumentInterpretationException
All Implemented Interfaces:
Serializable

public class ArgumentInterpretationException
extends SchmantException

This exception is thrown when an untyped argument cannot be interpreted to the desired type.

Since:
0.5
Author:
Karl Gustafsson
See Also:
ArgumentInterpreter, Serialized Form

Constructor Summary
ArgumentInterpretationException(List<NotInterpretedObject> objects, Class<?> c)
           
ArgumentInterpretationException(Object o, Class<?> c, List<String> trace)
           
ArgumentInterpretationException(Object o, String msg, List<String> trace)
           
ArgumentInterpretationException(String msg)
           
 
Method Summary
 
Methods inherited from class org.schmant.lang.SchmantException
testAndSetLogged
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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
 

Constructor Detail

ArgumentInterpretationException

public ArgumentInterpretationException(String msg)

ArgumentInterpretationException

public ArgumentInterpretationException(Object o,
                                       Class<?> c,
                                       List<String> trace)

ArgumentInterpretationException

public ArgumentInterpretationException(Object o,
                                       String msg,
                                       List<String> trace)

ArgumentInterpretationException

public ArgumentInterpretationException(List<NotInterpretedObject> objects,
                                       Class<?> c)