Exception message wording

pull/32/head
Richard Körber 2017-04-19 00:50:08 +02:00
parent 30257d0529
commit db4bf52674
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() to bind this resource to a session.");
}
return session;