Improved exceptions
Many exceptions got an improvement due to changed class or description or details it is providing. Is not complete, needs to be done in patches in the regions, where it is needed, since some are just swallowed. Removed total usage of pure RuntimeExceptions to 0.
This commit is contained in:
@@ -934,7 +934,7 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
||||
|
||||
public IAEItemStack getItemStack( IAEItemStack what, CraftingItemList storage2 )
|
||||
{
|
||||
IAEItemStack is = null;
|
||||
IAEItemStack is;
|
||||
switch( storage2 )
|
||||
{
|
||||
case STORAGE:
|
||||
@@ -960,7 +960,7 @@ public class CraftingCPUCluster implements IAECluster, ICraftingCPU
|
||||
break;
|
||||
default:
|
||||
case ALL:
|
||||
throw new RuntimeException( "Invalid Operation" );
|
||||
throw new IllegalStateException( "Invalid Operation" );
|
||||
}
|
||||
|
||||
if( is != null )
|
||||
|
||||
Reference in New Issue
Block a user