Class UnknownCommandException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.aragost.javahg.UnknownCommandException
All Implemented Interfaces:

public class UnknownCommandException
extends RuntimeException

Exception thrown when an attempt it made to execute a command that the underlying Mercurial command server doesn't know.

Since Mercurial from time to time introduce new commands (e.g. phase, graft), JavaHg implements these. But if you attempt to use them against an older version of Mercurial you get this exception.

See Also:
Serialized Form

Constructor Summary
UnknownCommandException(AbstractCommand cmd)
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


public UnknownCommandException(AbstractCommand cmd)
Method Detail


public AbstractCommand getCommand()

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