File tree 1 file changed +8
-2
lines changed
tools/cooja/java/se/sics/cooja
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -214,11 +214,17 @@ public boolean setConfigXML(
214
214
Simulation simulation , Collection <Element > configXML , boolean visAvailable )
215
215
throws MoteTypeCreationException ;
216
216
217
- public class MoteTypeCreationException extends Exception {
218
- private MessageList compilationOutput = null ;
217
+ public static class MoteTypeCreationException extends Exception {
218
+ private static final long serialVersionUID = 7625450894307392953L ;
219
+
220
+ private MessageList compilationOutput ;
221
+
219
222
public MoteTypeCreationException (String message ) {
220
223
super (message );
221
224
}
225
+ public MoteTypeCreationException (String message , Throwable cause ) {
226
+ super (message , cause );
227
+ }
222
228
public boolean hasCompilationOutput () {
223
229
return compilationOutput != null ;
224
230
}
You can’t perform that action at this time.
0 commit comments