com.aragost.javahg.commands
Class ExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
ExecutionException
public ExecutionException(AbstractCommand command,
String message)
- Parameters:
message
- the exception messagecommand
- the command that failed.
ExecutionException
public ExecutionException(AbstractCommand command)
- Parameters:
command
- the command that failed.
getCommand
public AbstractCommand getCommand()
- Returns:
- the command that failed.
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.