com.github.dakusui.cmd.exceptions
Class CommandException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.github.dakusui.cmd.exceptions.CommandException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CommandTimeoutException

public class CommandException
extends RuntimeException

An exception class to indicate an error is detected during command execution

Author:
ukaihiroshi01
See Also:
Serialized Form

Constructor Summary
CommandException()
          Creates an object of this class.
CommandException(String msg)
          Creates an object of this class.
CommandException(String msg, Throwable t)
          Creates an object of this class.
CommandException(Throwable t)
          Creates an object of this class.
 
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

CommandException

public CommandException()
Creates an object of this class.


CommandException

public CommandException(String msg)
Creates an object of this class.

Parameters:
msg - A message string to be set.

CommandException

public CommandException(Throwable t)
Creates an object of this class.

Parameters:
t -

CommandException

public CommandException(String msg,
                        Throwable t)
Creates an object of this class.

Parameters:
msg - A message string to be set.
t -


Copyright © 2016. All rights reserved.