hello, this tut is about to stop server crashes and im gona tell you how
by using the try-catch methode an error can be turned into an message, also an crash will be turned into an message..
for example
your newvoid1 keeps crashing ur server
when u add the try and catch methode your server wont crash but simply prints and line...Code:public void newvoid1()
{
callvoid2();
}
how to use?Code:public void newvoid1()
{
try{
callvoid2();
} catch (Exception e){
misc.println("error in newvoid1");
}
}
at the start of an void u add:
at the end above the last "}"Code:try{
u addCode:catch (Exception e){
misc.println("eror msg");
}
