Add Exception to the exception class name

This commit is contained in:
Frédéric Brégier 2012-05-01 00:18:42 +03:00 committed by Trustin Lee
parent b8ab8828c0
commit f799c9f215

View File

@ -26,7 +26,7 @@ import java.util.TreeMap;
import io.netty.buffer.ChannelBuffer; import io.netty.buffer.ChannelBuffer;
import io.netty.buffer.ChannelBuffers; import io.netty.buffer.ChannelBuffers;
import io.netty.handler.codec.http.HttpPostBodyUtil.SeekAheadNoBackArray; import io.netty.handler.codec.http.HttpPostBodyUtil.SeekAheadNoBackArrayException;
import io.netty.handler.codec.http.HttpPostBodyUtil.SeekAheadOptimize; import io.netty.handler.codec.http.HttpPostBodyUtil.SeekAheadOptimize;
import io.netty.handler.codec.http.HttpPostBodyUtil.TransferEncodingMechanism; import io.netty.handler.codec.http.HttpPostBodyUtil.TransferEncodingMechanism;
@ -551,7 +551,7 @@ public class HttpPostRequestDecoder {
SeekAheadOptimize sao = null; SeekAheadOptimize sao = null;
try { try {
sao = new SeekAheadOptimize(undecodedChunk); sao = new SeekAheadOptimize(undecodedChunk);
} catch (SeekAheadNoBackArray e1) { } catch (SeekAheadNoBackArrayException e1) {
parseBodyAttributesStandard(); parseBodyAttributesStandard();
return; return;
} }
@ -845,7 +845,7 @@ public class HttpPostRequestDecoder {
SeekAheadOptimize sao = null; SeekAheadOptimize sao = null;
try { try {
sao = new SeekAheadOptimize(undecodedChunk); sao = new SeekAheadOptimize(undecodedChunk);
} catch (SeekAheadNoBackArray e) { } catch (SeekAheadNoBackArrayException e) {
skipControlCharactersStandard(undecodedChunk); skipControlCharactersStandard(undecodedChunk);
return; return;
} }
@ -1242,7 +1242,7 @@ public class HttpPostRequestDecoder {
SeekAheadOptimize sao = null; SeekAheadOptimize sao = null;
try { try {
sao = new SeekAheadOptimize(undecodedChunk); sao = new SeekAheadOptimize(undecodedChunk);
} catch (SeekAheadNoBackArray e1) { } catch (SeekAheadNoBackArrayException e1) {
return readLineStandard(); return readLineStandard();
} }
int readerIndex = undecodedChunk.readerIndex(); int readerIndex = undecodedChunk.readerIndex();
@ -1382,7 +1382,7 @@ public class HttpPostRequestDecoder {
SeekAheadOptimize sao = null; SeekAheadOptimize sao = null;
try { try {
sao = new SeekAheadOptimize(undecodedChunk); sao = new SeekAheadOptimize(undecodedChunk);
} catch (SeekAheadNoBackArray e1) { } catch (SeekAheadNoBackArrayException e1) {
readFileUploadByteMultipartStandard(delimiter); readFileUploadByteMultipartStandard(delimiter);
return; return;
} }
@ -1590,7 +1590,7 @@ public class HttpPostRequestDecoder {
SeekAheadOptimize sao = null; SeekAheadOptimize sao = null;
try { try {
sao = new SeekAheadOptimize(undecodedChunk); sao = new SeekAheadOptimize(undecodedChunk);
} catch (SeekAheadNoBackArray e1) { } catch (SeekAheadNoBackArrayException e1) {
loadFieldMultipartStandard(delimiter); loadFieldMultipartStandard(delimiter);
return; return;
} }