You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by ri...@apache.org on 2010/09/21 15:00:35 UTC
svn commit: r999381 -
/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandNotFoundException.java
Author: rickhall
Date: Tue Sep 21 13:00:34 2010
New Revision: 999381
URL: http://svn.apache.org/viewvc?rev=999381&view=rev
Log:
Reformat.
Modified:
felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandNotFoundException.java
Modified: felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandNotFoundException.java
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandNotFoundException.java?rev=999381&r1=999380&r2=999381&view=diff
==============================================================================
--- felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandNotFoundException.java (original)
+++ felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/CommandNotFoundException.java Tue Sep 21 13:00:34 2010
@@ -20,16 +20,18 @@ package org.apache.felix.gogo.runtime;
/**
* Thrown if an unknown command is entered into a shell or passed on the command line
*/
-public class CommandNotFoundException extends IllegalArgumentException {
+public class CommandNotFoundException extends IllegalArgumentException
+{
private final String command;
-
- public CommandNotFoundException(String command) {
+ public CommandNotFoundException(String command)
+ {
super("Command not found: " + command);
this.command = command;
}
- public String getCommand() {
+ public String getCommand()
+ {
return command;
}
-}
+}
\ No newline at end of file