tuwien.auto.calimero.exception
Class KNXIllegalArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by tuwien.auto.calimero.exception.KNXIllegalArgumentException
All Implemented Interfaces:
java.io.Serializable

public class KNXIllegalArgumentException
extends java.lang.RuntimeException

Thrown to indicate that a method has been passed an illegal or inappropriate argument.

See Also:
Serialized Form

Constructor Summary
KNXIllegalArgumentException()
          Constructs a new KNXIllegalArgumentException without a detail message.
KNXIllegalArgumentException(java.lang.String s)
          Constructs a new KNXIllegalArgumentException with the specified detail message.
 
Method Summary
 java.lang.String getArgument()
          Returns the argument which caused the exception.
 
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

KNXIllegalArgumentException

public KNXIllegalArgumentException()
Constructs a new KNXIllegalArgumentException without a detail message.


KNXIllegalArgumentException

public KNXIllegalArgumentException(java.lang.String s)
Constructs a new KNXIllegalArgumentException with the specified detail message.

Parameters:
s - the detail message
Method Detail

getArgument

public final java.lang.String getArgument()
Returns the argument which caused the exception.

Returns:
argument as string, or null if no argument was set