From f1a311c28bd967c421e7e170c353906e17dda19a Mon Sep 17 00:00:00 2001 From: alexiscatnip Date: Tue, 12 Jul 2022 00:28:42 +0800 Subject: [PATCH] Remove DecodeException. --- .../UI/Map/Map_SceneHierachy/MapScenePresenter.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Assets/Raindrop/UI/Map/Map_SceneHierachy/MapScenePresenter.cs b/Assets/Raindrop/UI/Map/Map_SceneHierachy/MapScenePresenter.cs index accdfd4..37566d2 100644 --- a/Assets/Raindrop/UI/Map/Map_SceneHierachy/MapScenePresenter.cs +++ b/Assets/Raindrop/UI/Map/Map_SceneHierachy/MapScenePresenter.cs @@ -217,7 +217,7 @@ namespace Raindrop.UI.map.Map_SceneHierachy } catch (Exception e) { - throw new DecodeException("maptile (jp2) decode failed at " + e.Message); + Debug.LogError("maptile (jp2) decode failed at " + e.Message); } finally { @@ -385,13 +385,6 @@ namespace Raindrop.UI.map.Map_SceneHierachy } - internal class DecodeException : Exception - { - public DecodeException(string cannotReadJ2kHeader) - { - throw new NotImplementedException(); //change to another ecception. - } - } internal class MapSceneData {