So guys i am trying to add a custom to the server and i am using java.util.log.Logger
now i want to make an exception :
Logger.error("Error: could not update database: ", e);
so the Logger.error is not defiened for this type of logger anybody knows what type should i use to make an exception? I have been googling and things like Logger.fatal don't work aswell
And one more question i had this LOGGER.info( "Error updating name for player " + player.getName() + ". Error: " + e); which did not work
and i changed it to this Logger.getLogger("Info").info( "Error updating name for player " + player.getName() + ". Error: " + e); is this ok and will it work i mean the error is gone but does it have the same function?
If you need pictures tell me and i will then edit the post with pictures i hope you can understand what i mean :P
The Time Has Come!
Tomorrow, L2DoubleDamage officially launches! Get ready for epic PvP battles, legendary rewards, and tons of action-packed features!
Opening Date:
February 28, 2025
Opening Time by Country:
Greece: 20:00
Brazil: 15:00
Russia (Moscow): 21:00
Argentina: 15:00
Important Note:
The donation weapons, armors, and jewelry will be closed for 2 days for the donors.
Key Features:
100% PvP Full Balance – No Pay to Win!
Ultra Stable – No Wipes, Long-Term Project!
Siege Castles: Giran, Aden, Rune
Giran Siege Reward: 100€ Real Money! (Every week after: 50€)
VIP Autofarm: x2 Drop & Name Color Change
6 Grand Bosses & 6 Special Grand Bosses!
Casino – Try Your Luck & Win Big!
Daily PvP Events – Show off your skills!
Enchant Rates: Safe +6, Max +25
JOIN NOW and prepare for the ultimate PvP experience!
Check out the official links below:
Website: L2DoubleDamage
Discord: Join Here
Instagram: Follow Us
YouTube: Watch the Trailer
Facebook: Like Our Page
Get ready! The adventure begins tomorrow!
🚀 JOIN NOW & Experience the Best PvP Gameplay Ever! 🚀
🌐 Website: http://www.l2doubledamage.com/
💬 Discord: https://discord.gg/l2doubledamage
📷 Instagram: https://www.instagram.com/l2doubledamage/
📘 Facebook: https://www.facebook.com/profile.php?id=61573159438765&sk=about_contact_and_basic_info
📺 YouTube:
🔥 L2Custom.com - FRESH START/WIPE! 🔥
🗓️ Wipe/Open Date: 2025-03-01, 18:00 GMT+2
⚔️ Chronicle: Interlude | Rates: High
🌟 Key Features:
✅ Custom Items – Enhanced PvP Experience
✅ Full Buffer – No Hassle, Just Action
✅ Olympiad (A-Grade Only) – Every Week
✅ Castle Sieges – Every Week
🚀 Fresh Start – Dominate from Day 1!
Gather your clan, forge alliances, and prove your strength on the battlefield!
🌐 Join Now: www.l2custom.com
💥 Don’t miss out on the ultimate PvP experience! 💥
Question
HyperActive
So guys i am trying to add a custom to the server and i am using java.util.log.Logger
now i want to make an exception :
Logger.error("Error: could not update database: ", e);
so the Logger.error is not defiened for this type of logger anybody knows what type should i use to make an exception? I have been googling and things like Logger.fatal don't work aswell
And one more question i had this LOGGER.info( "Error updating name for player " + player.getName() + ". Error: " + e); which did not work
and i changed it to this Logger.getLogger("Info").info( "Error updating name for player " + player.getName() + ". Error: " + e); is this ok and will it work i mean the error is gone but does it have the same function?
If you need pictures tell me and i will then edit the post with pictures i hope you can understand what i mean :P
3 answers to this question
Recommended Posts