Fix misleading exception message

pull/55/head
Richard Körber 2017-04-30 16:45:18 +02:00
parent 203c986522
commit 25b13a74e4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ public abstract class AcmeResource implements Serializable {
*/
protected Session getSession() {
if (session == null) {
throw new IllegalStateException("Use Acme.reconnect() for reconnecting this object to a session.");
throw new IllegalStateException("Use rebind() for binding this object to a session.");
}
return session;