common-util

local.tomas.util.options
Class OptionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by local.tomas.util.options.OptionException
All Implemented Interfaces:
Serializable

public class OptionException
extends Exception

Option processing exception.

Author:
Teubner
See Also:
Serialized Form

Constructor Summary
OptionException()
          Default constructor.
OptionException(String message)
          Construct exception from message.
OptionException(String message, Throwable cause)
          Construct exception from message and root cause
OptionException(Throwable cause)
          Construct exception from root cause.
 
Method Summary
 
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

OptionException

public OptionException()
Default constructor.


OptionException

public OptionException(String message)
Construct exception from message.

Parameters:
message - the message

OptionException

public OptionException(String message,
                       Throwable cause)
Construct exception from message and root cause

Parameters:
message - the message
cause - the root cause

OptionException

public OptionException(Throwable cause)
Construct exception from root cause.

Parameters:
cause - the root cause

common-util

Copyright © 2005-2007 Tomas Teubner. All Rights Reserved.