updated common code
parent
c0fb912326
commit
d0caa66dc4
@ -1,8 +1,21 @@
|
||||
/*
|
||||
* Copyright 2018 beanit
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
|
||||
* in compliance with the License. You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software distributed under the License
|
||||
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
|
||||
* or implied. See the License for the specific language governing permissions and limitations under
|
||||
* the License.
|
||||
*/
|
||||
package com.beanit.openiec61850.internal.cli;
|
||||
|
||||
public interface ActionListener {
|
||||
|
||||
public void actionCalled(String actionKey) throws ActionException, FatalActionException;
|
||||
void actionCalled(String actionKey) throws ActionException;
|
||||
|
||||
public void quit();
|
||||
void quit();
|
||||
}
|
||||
|
@ -1,22 +0,0 @@
|
||||
package com.beanit.openiec61850.internal.cli;
|
||||
|
||||
public final class FatalActionException extends Exception {
|
||||
|
||||
private static final long serialVersionUID = -8134353678567694515L;
|
||||
|
||||
public FatalActionException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public FatalActionException(String s) {
|
||||
super(s);
|
||||
}
|
||||
|
||||
public FatalActionException(Throwable cause) {
|
||||
super(cause);
|
||||
}
|
||||
|
||||
public FatalActionException(String s, Throwable cause) {
|
||||
super(s, cause);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue