From 8265c45d555362d9ac17d7c81233d9fc8e3e2c24 Mon Sep 17 00:00:00 2001 From: MobiusDevelopment <8391001+MobiusDevelopment@users.noreply.github.com> Date: Tue, 9 Nov 2021 23:24:25 +0000 Subject: [PATCH] Include runnable class name to ThreadPool exception log. --- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/gameserver/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- .../java/org/l2jmobius/commons/threads/ThreadPool.java | 6 +++--- 26 files changed, 78 insertions(+), 78 deletions(-) diff --git a/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_01.0_Ertheia/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_02.5_Underground/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_02.5_Underground/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_02.5_Underground/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_02.5_Underground/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_03.0_Helios/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_03.0_Helios/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_03.0_Helios/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_03.0_Helios/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_04.0_GrandCrusade/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_05.0_Salvation/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_05.5_EtinasFate/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_06.0_Fafurion/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_07.0_PreludeOfWar/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_08.2_Homunculus/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_09.2_ReturnOfTheQueenAnt/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_10.0_MasterClass/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_10.0_MasterClass/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_10.0_MasterClass/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_10.0_MasterClass/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/threads/ThreadPool.java b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/threads/ThreadPool.java index 4d88aacf5e..fcba5122f8 100644 --- a/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/threads/ThreadPool.java +++ b/L2J_Mobius_C1_HarbingersOfWar/java/org/l2jmobius/gameserver/threads/ThreadPool.java @@ -109,7 +109,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -129,7 +129,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -146,7 +146,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_C4_ScionsOfDestiny/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_CT_2.4_Epilogue/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_CT_2.6_HighFive/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Classic_2.0_Saviors/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Classic_2.1_Zaken/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Classic_2.2_Antharas/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Classic_2.3_SevenSigns/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Classic_2.4_SecretOfEmpire/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Classic_3.0_TheKamael/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Classic_Interlude/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Essence_4.2_DwellingOfSpirits/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Essence_5.2_FrostLord/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } } diff --git a/L2J_Mobius_Essence_6.0_BattleChronicle/java/org/l2jmobius/commons/threads/ThreadPool.java b/L2J_Mobius_Essence_6.0_BattleChronicle/java/org/l2jmobius/commons/threads/ThreadPool.java index 3e5fb9f9d4..7f90cf2e7a 100644 --- a/L2J_Mobius_Essence_6.0_BattleChronicle/java/org/l2jmobius/commons/threads/ThreadPool.java +++ b/L2J_Mobius_Essence_6.0_BattleChronicle/java/org/l2jmobius/commons/threads/ThreadPool.java @@ -108,7 +108,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -128,7 +128,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); return null; } } @@ -145,7 +145,7 @@ public class ThreadPool } catch (Exception e) { - LOGGER.warning(e.getMessage() + Config.EOL + e.getStackTrace()); + LOGGER.warning(runnable.getClass().getSimpleName() + Config.EOL + e.getMessage() + Config.EOL + e.getStackTrace()); } }