Add Exception to name of the Exception ;-)

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

View File

@ -119,7 +119,7 @@ final class HttpPostBodyUtil {
/**
* Exception when NO Backend Array is found
*/
static class SeekAheadNoBackArray extends Exception {
static class SeekAheadNoBackArrayException extends Exception {
private static final long serialVersionUID = -630418804938699495L;
}
@ -142,9 +142,9 @@ final class HttpPostBodyUtil {
* @param buffer
*/
SeekAheadOptimize(ChannelBuffer buffer)
throws SeekAheadNoBackArray {
throws SeekAheadNoBackArrayException {
if (! buffer.hasArray()) {
throw new SeekAheadNoBackArray();
throw new SeekAheadNoBackArrayException();
}
this.buffer = buffer;
this.bytes = buffer.array();