com.aragost.javahg.commands
Class ExecutionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.aragost.javahg.commands.ExecutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
CancelledExecutionException

public class ExecutionException
extends RuntimeException

Generic exception thrown when executing a Mercurial command fails.

See Also:
Serialized Form

Constructor Summary
ExecutionException(AbstractCommand command)
           
ExecutionException(AbstractCommand command, String message)
           
 
Method Summary
 AbstractCommand getCommand()
           
 
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

ExecutionException

public ExecutionException(AbstractCommand command,
                          String message)
Parameters:
message - the exception message
command - the command that failed.

ExecutionException

public ExecutionException(AbstractCommand command)
Parameters:
command - the command that failed.
Method Detail

getCommand

public AbstractCommand getCommand()
Returns:
the command that failed.


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.