Temporary set of catch to ignored if they are ignored
This commit is contained in:
@@ -71,7 +71,7 @@ public class BC extends BaseModule implements IBC
|
||||
if ( ((TileGenericPipe) te).hasPlug( dir.getOpposite() ) )
|
||||
return false;
|
||||
}
|
||||
catch (Exception err)
|
||||
catch (Exception ignored)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -285,7 +285,7 @@ public class BC extends BaseModule implements IBC
|
||||
ItemStack fs = ItemFacade.getFacade( blk, meta );
|
||||
return new FacadePart( fs, side );
|
||||
}
|
||||
catch (Throwable t)
|
||||
catch (Throwable ignored)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -295,7 +295,7 @@ public class BC extends BaseModule implements IBC
|
||||
ItemStack fs = ItemFacade.getStack( blk, meta );
|
||||
return new FacadePart( fs, side );
|
||||
}
|
||||
catch (Throwable t)
|
||||
catch (Throwable ignored)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -322,7 +322,7 @@ public class BC extends BaseModule implements IBC
|
||||
if ( blk[0] != null )
|
||||
return new ItemStack( blk[0], 1, meta[0] );
|
||||
}
|
||||
catch (Throwable t)
|
||||
catch (Throwable ignored)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -333,7 +333,7 @@ public class BC extends BaseModule implements IBC
|
||||
if ( blk != null )
|
||||
return new ItemStack( blk, 1, ItemFacade.getMetaData( facade ) );
|
||||
}
|
||||
catch (Throwable t)
|
||||
catch (Throwable ignored)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -348,7 +348,7 @@ public class BC extends BaseModule implements IBC
|
||||
{
|
||||
return BuildCraftTransport.instance.pipeIconProvider.getIcon( PipeIconProvider.TYPE.PipeStructureCobblestone.ordinal() ); // Structure
|
||||
}
|
||||
catch (Throwable t)
|
||||
catch (Throwable ignored)
|
||||
{
|
||||
}
|
||||
return null;
|
||||
|
||||
@@ -48,7 +48,7 @@ public class AEGenericSchematicTile extends SchematicTile
|
||||
tileNBT.setString( "orientation_forward", fdForward.name() );
|
||||
tileNBT.setString( "orientation_up", fdUp.name() );
|
||||
}
|
||||
catch (Throwable t)
|
||||
catch (Throwable ignored)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -231,11 +231,11 @@ public class CraftGuide extends CraftGuideAPIObject implements IIntegrationModul
|
||||
{
|
||||
output[i] = toCG( ((IIngredient) output[i]).getItemStackSet() );
|
||||
}
|
||||
catch (RegistrationError e)
|
||||
catch (RegistrationError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
catch (MissingIngredientError e)
|
||||
catch (MissingIngredientError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -266,11 +266,11 @@ public class CraftGuide extends CraftGuideAPIObject implements IIntegrationModul
|
||||
{
|
||||
output[i] = toCG( ((IIngredient) output[i]).getItemStackSet() );
|
||||
}
|
||||
catch (RegistrationError e)
|
||||
catch (RegistrationError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
catch (MissingIngredientError e)
|
||||
catch (MissingIngredientError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -302,11 +302,11 @@ public class CraftGuide extends CraftGuideAPIObject implements IIntegrationModul
|
||||
{
|
||||
output[i] = toCG( ((IIngredient) output[i]).getItemStackSet() );
|
||||
}
|
||||
catch (RegistrationError e)
|
||||
catch (RegistrationError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
catch (MissingIngredientError e)
|
||||
catch (MissingIngredientError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -43,10 +43,10 @@ public class FZ implements IFZ, IIntegrationModule
|
||||
|
||||
return i;
|
||||
}
|
||||
catch (IllegalArgumentException e)
|
||||
catch (IllegalArgumentException ignored)
|
||||
{
|
||||
}
|
||||
catch (IllegalAccessException e)
|
||||
catch (IllegalAccessException ignored)
|
||||
{
|
||||
}
|
||||
return null;
|
||||
@@ -60,13 +60,13 @@ public class FZ implements IFZ, IIntegrationModule
|
||||
if ( day_BarrelClass.isInstance( te ) )
|
||||
return (Integer) day_getMaxSize.invoke( te );
|
||||
}
|
||||
catch (IllegalAccessException e)
|
||||
catch (IllegalAccessException ignored)
|
||||
{
|
||||
}
|
||||
catch (IllegalArgumentException e)
|
||||
catch (IllegalArgumentException ignored)
|
||||
{
|
||||
}
|
||||
catch (InvocationTargetException e)
|
||||
catch (InvocationTargetException ignored)
|
||||
{
|
||||
}
|
||||
return 0;
|
||||
@@ -80,13 +80,13 @@ public class FZ implements IFZ, IIntegrationModule
|
||||
if ( day_BarrelClass.isInstance( te ) )
|
||||
return (Integer) day_getItemCount.invoke( te );
|
||||
}
|
||||
catch (IllegalAccessException e)
|
||||
catch (IllegalAccessException ignored)
|
||||
{
|
||||
}
|
||||
catch (IllegalArgumentException e)
|
||||
catch (IllegalArgumentException ignored)
|
||||
{
|
||||
}
|
||||
catch (InvocationTargetException e)
|
||||
catch (InvocationTargetException ignored)
|
||||
{
|
||||
}
|
||||
return 0;
|
||||
@@ -100,10 +100,10 @@ public class FZ implements IFZ, IIntegrationModule
|
||||
if ( day_BarrelClass.isInstance( te ) )
|
||||
day_item.set( te, input == null ? null : input.copy() );
|
||||
}
|
||||
catch (IllegalArgumentException e)
|
||||
catch (IllegalArgumentException ignored)
|
||||
{
|
||||
}
|
||||
catch (IllegalAccessException e)
|
||||
catch (IllegalAccessException ignored)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -118,13 +118,13 @@ public class FZ implements IFZ, IIntegrationModule
|
||||
|
||||
te.markDirty();
|
||||
}
|
||||
catch (IllegalAccessException e)
|
||||
catch (IllegalAccessException ignored)
|
||||
{
|
||||
}
|
||||
catch (IllegalArgumentException e)
|
||||
catch (IllegalArgumentException ignored)
|
||||
{
|
||||
}
|
||||
catch (InvocationTargetException e)
|
||||
catch (InvocationTargetException ignored)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -195,11 +195,11 @@ public class NEIAEShapedRecipeHandler extends TemplateRecipeHandler
|
||||
stack.setMaxSize( 1 );
|
||||
this.ingredients.add( stack );
|
||||
}
|
||||
catch (RegistrationError e)
|
||||
catch (RegistrationError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
catch (MissingIngredientError e)
|
||||
catch (MissingIngredientError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
+2
-2
@@ -196,11 +196,11 @@ public class NEIAEShapelessRecipeHandler extends TemplateRecipeHandler
|
||||
stack.setMaxSize( 1 );
|
||||
this.ingredients.add( stack );
|
||||
}
|
||||
catch (RegistrationError e)
|
||||
catch (RegistrationError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
catch (MissingIngredientError e)
|
||||
catch (MissingIngredientError ignored)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -39,10 +39,10 @@ public class NEICraftingHandler implements IOverlayHandler
|
||||
List ingredients = recipe.getIngredientStacks( recipeIndex );
|
||||
overlayRecipe( gui, ingredients, shift );
|
||||
}
|
||||
catch (Exception err)
|
||||
catch (Exception ignored)
|
||||
{
|
||||
}
|
||||
catch (Error err)
|
||||
catch (Error ignored)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -102,10 +102,10 @@ public class NEICraftingHandler implements IOverlayHandler
|
||||
NetworkHandler.instance.sendToServer( new PacketNEIRecipe( recipe ) );
|
||||
}
|
||||
}
|
||||
catch (Exception err)
|
||||
catch (Exception ignored)
|
||||
{
|
||||
}
|
||||
catch (Error err)
|
||||
catch (Error ignored)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,7 +86,7 @@ public class Waila extends BaseModule implements IWailaDataProvider, IWailaFMPPr
|
||||
{
|
||||
nbt = accessor.getNBTData();
|
||||
}
|
||||
catch (NullPointerException npe)
|
||||
catch (NullPointerException ignored)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -105,7 +105,7 @@ public class Waila extends BaseModule implements IWailaDataProvider, IWailaFMPPr
|
||||
{
|
||||
nbt = accessor.getNBTData();
|
||||
}
|
||||
catch (NullPointerException npe)
|
||||
catch (NullPointerException ignored)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user