Improved logging.

This commit is contained in:
Simone Bordet 2012-07-24 16:24:00 +02:00
parent b755762ea6
commit 71cf945183
1 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ public abstract class AbstractAsyncConnection implements AsyncConnection
public AbstractAsyncConnection(AsyncEndPoint endp, Executor executor, final boolean executeOnlyFailure)
{
if (executor == null)
throw new IllegalArgumentException();
throw new IllegalArgumentException("Executor must not be null!");
_endp = endp;
_readCallback = new ExecutorCallback<Void>(executor)
@ -129,7 +129,7 @@ public abstract class AbstractAsyncConnection implements AsyncConnection
@Override
public void onOpen()
{
LOG.debug("Opened {}",this);
LOG.debug("{} opened",this);
fillInterested();
}