From b8ab8828c03a285da17bbd051e668fc1b1334ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Br=C3=A9gier?= Date: Tue, 1 May 2012 00:14:42 +0300 Subject: [PATCH] Add Exception to name of the Exception ;-) --- .../java/io/netty/handler/codec/http/HttpPostBodyUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/HttpPostBodyUtil.java b/codec-http/src/main/java/io/netty/handler/codec/http/HttpPostBodyUtil.java index b1ceca7bf0..02fb319e34 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/HttpPostBodyUtil.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/HttpPostBodyUtil.java @@ -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();