API cleanups (#3155)

* Remove obsolete api and fix some warning
* Move MEMonitorHandler to internal code and fix some warnings
* Rename exceptions to conform to naming scheme
This commit is contained in:
fscan
2017-10-14 14:15:28 +02:00
committed by yueh
parent 905dd6c888
commit 4f07b63b13
77 changed files with 298 additions and 398 deletions
@@ -22,7 +22,7 @@ package appeng.integration;
import net.minecraftforge.fml.common.Loader;
import net.minecraftforge.fml.common.ModAPIManager;
import appeng.api.exceptions.ModNotInstalled;
import appeng.api.exceptions.ModNotInstalledException;
import appeng.core.AEConfig;
import appeng.core.AELog;
@@ -96,7 +96,7 @@ final class IntegrationNode
}
else
{
throw new ModNotInstalled( this.modID );
throw new ModNotInstalledException( this.modID );
}
this.mod.preInit();
@@ -130,7 +130,7 @@ final class IntegrationNode
if( this.getState() == IntegrationStage.FAILED )
{
AELog.info( this.displayName + " - Integration Disabled" );
if( !( this.exception instanceof ModNotInstalled ) )
if( !( this.exception instanceof ModNotInstalledException ) )
{
AELog.integration( this.exception );
}