publicclassExceptionHandlerextendsException{privateExceptionthrownException;publicExceptionHandler(ExceptionthrownExc){this.thrownException=thrownExc;if(thrownException.getClass().isInstance(javax.microedition.io.ConnectionNotFoundException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.io.IOException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.lang.NullPointerException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.lang.OutOfMemoryError.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.lang.Exception.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.lang.IndexOutOfBoundsException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.lang.ArrayIndexOutOfBoundsException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.lang.ArithmeticException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.lang.IllegalArgumentException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(java.lang.IllegalStateException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(javax.microedition.midlet.MIDletStateChangeException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(javax.microedition.rms.RecordStoreNotFoundException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(javax.microedition.rms.RecordStoreFullException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(javax.microedition.rms.RecordStoreException.class)){// DO SOMETHING}elseif(thrownException.getClass().isInstance(javax.microedition.media.MediaException.class)){// DO SOMETHING}}}
Поиск по сайту
Результаты поиска
Начните вводить запрос. Можно искать по названию, описанию, тексту и тегам.