Skip to content

Commit c47617d

Browse files
author
Philipp Kraus
committed
fix exceptions
1 parent 950a5f8 commit c47617d

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

IBaseTest.java

+11-15
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public abstract class IBaseTest
8585
*/
8686
@Nullable
8787
@SuppressWarnings( "unchecked" )
88-
protected static <N> N property( @Nonnull final String p_name, @Nonnull final Object p_object ) throws NoSuchFieldException, IllegalAccessException
88+
protected static <N> N property( @Nonnull final String p_name, @Nonnull final Object p_object ) throws IllegalAccessException
8989
{
9090

9191
final Field l_field = CCommon.classfields( p_object.getClass() )
@@ -230,9 +230,9 @@ protected static final class CAgentGenerator extends IBaseAgentGenerator<IAgent<
230230
/**
231231
* ctor
232232
*
233-
* @throws Exception is thrown on any error
233+
* @throws IOException on stream error
234234
*/
235-
public CAgentGenerator() throws Exception
235+
public CAgentGenerator() throws IOException
236236
{
237237
this( "", IActionGenerator.EMPTY, ILambdaStreamingGenerator.EMPTY );
238238
}
@@ -241,9 +241,9 @@ public CAgentGenerator() throws Exception
241241
* ctor
242242
*
243243
* @param p_asl asl code
244-
* @throws Exception is thrown on any error
244+
* @throws IOException on stream error
245245
*/
246-
public CAgentGenerator( @Nonnull final String p_asl ) throws Exception
246+
public CAgentGenerator( @Nonnull final String p_asl ) throws IOException
247247
{
248248
this( p_asl, IActionGenerator.EMPTY, ILambdaStreamingGenerator.EMPTY );
249249
}
@@ -252,9 +252,8 @@ public CAgentGenerator( @Nonnull final String p_asl ) throws Exception
252252
* ctor
253253
*
254254
* @param p_asl asl code
255-
* @throws Exception is thrown on any error
256255
*/
257-
public CAgentGenerator( @Nonnull final InputStream p_asl ) throws Exception
256+
public CAgentGenerator( @Nonnull final InputStream p_asl )
258257
{
259258
super( p_asl, IActionGenerator.EMPTY, ILambdaStreamingGenerator.EMPTY );
260259
}
@@ -265,10 +264,10 @@ public CAgentGenerator( @Nonnull final InputStream p_asl ) throws Exception
265264
* @param p_asl asl code
266265
* @param p_action actions
267266
* @param p_lambda lambdas
268-
* @throws Exception is thrown on any error
267+
* @throws IOException on stream error
269268
*/
270269
public CAgentGenerator( @Nonnull final String p_asl, @Nonnull final IActionGenerator p_action, @Nonnull final ILambdaStreamingGenerator p_lambda )
271-
throws Exception
270+
throws IOException
272271
{
273272
super( IOUtils.toInputStream( p_asl, "UTF-8" ), p_action, p_lambda );
274273
}
@@ -280,10 +279,10 @@ public CAgentGenerator( @Nonnull final String p_asl, @Nonnull final IActionGener
280279
* @param p_action actions
281280
* @param p_lambda lambdas
282281
* @param p_variablebuilder variable builder
283-
* @throws Exception is thrown on any error
282+
* @throws IOException on stream error
284283
*/
285284
public CAgentGenerator( @Nonnull final String p_asl, @Nonnull final IActionGenerator p_action,
286-
@Nonnull final ILambdaStreamingGenerator p_lambda, @Nonnull final IVariableBuilder p_variablebuilder ) throws Exception
285+
@Nonnull final ILambdaStreamingGenerator p_lambda, @Nonnull final IVariableBuilder p_variablebuilder ) throws IOException
287286
{
288287
super( IOUtils.toInputStream( p_asl, "UTF-8" ), p_action, p_lambda, p_variablebuilder );
289288
}
@@ -295,10 +294,9 @@ public CAgentGenerator( @Nonnull final String p_asl, @Nonnull final IActionGener
295294
* @param p_action actions
296295
* @param p_lambda lambdas
297296
* @param p_variablebuilder variable builder
298-
* @throws Exception is thrown on any error
299297
*/
300298
public CAgentGenerator( @Nonnull final InputStream p_asl, @Nonnull final IActionGenerator p_action,
301-
@Nonnull final ILambdaStreamingGenerator p_lambda, @Nonnull final IVariableBuilder p_variablebuilder ) throws Exception
299+
@Nonnull final ILambdaStreamingGenerator p_lambda, @Nonnull final IVariableBuilder p_variablebuilder )
302300
{
303301
super( p_asl, p_action, p_lambda, p_variablebuilder );
304302
}
@@ -309,10 +307,8 @@ public CAgentGenerator( @Nonnull final InputStream p_asl, @Nonnull final IAction
309307
* @param p_asl asl code
310308
* @param p_action actions
311309
* @param p_lambda lambdas
312-
* @throws Exception is thrown on any error
313310
*/
314311
public CAgentGenerator( @Nonnull final InputStream p_asl, @Nonnull final IActionGenerator p_action, @Nonnull final ILambdaStreamingGenerator p_lambda )
315-
throws Exception
316312
{
317313
super( p_asl, p_action, p_lambda );
318314
}

0 commit comments

Comments
 (0)