From do-not-reply at jboss.org Wed Jul 27 13:29:18 2011 Content-Type: multipart/mixed; boundary="===============6058479652326712610==" MIME-Version: 1.0 From: do-not-reply at jboss.org To: hornetq-commits at lists.jboss.org Subject: [hornetq-commits] JBoss hornetq SVN: r11057 - branches/HORNETQ-720_Replication/hornetq-journal/src/main/java/org/hornetq/core/journal/impl. Date: Wed, 27 Jul 2011 13:29:18 -0400 Message-ID: <201107271729.p6RHTIFa021295@svn01.web.mwc.hst.phx2.redhat.com> --===============6058479652326712610== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: borges Date: 2011-07-27 13:29:18 -0400 (Wed, 27 Jul 2011) New Revision: 11057 Modified: branches/HORNETQ-720_Replication/hornetq-journal/src/main/java/org/horne= tq/core/journal/impl/AIOSequentialFile.java Log: throw the right kind of exception. Modified: branches/HORNETQ-720_Replication/hornetq-journal/src/main/java/or= g/hornetq/core/journal/impl/AIOSequentialFile.java =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- branches/HORNETQ-720_Replication/hornetq-journal/src/main/java/org/horn= etq/core/journal/impl/AIOSequentialFile.java 2011-07-27 17:28:44 UTC (rev 1= 1056) +++ branches/HORNETQ-720_Replication/hornetq-journal/src/main/java/org/horn= etq/core/journal/impl/AIOSequentialFile.java 2011-07-27 17:29:18 UTC (rev 1= 1057) @@ -26,9 +26,9 @@ import org.hornetq.core.logging.Logger; = /** - * = + * * A AIOSequentialFile - * = + * * @author Clebert Suconic<= /a> * */ @@ -227,7 +227,7 @@ = public void sync() throws Exception { - throw new IllegalArgumentException("This method is not supported on = AIO"); + throw new UnsupportedOperationException("This method is not supporte= d on AIO"); } = public long size() throws Exception @@ -268,7 +268,7 @@ } = /** - * = + * * @param sync Not used on AIO * */ public void writeDirect(final ByteBuffer bytes, final boolean sync, fin= al IOAsyncTask callback) --===============6058479652326712610==--