mirror of https://github.com/shred/acme4j
Fix misleading exception message
parent
203c986522
commit
25b13a74e4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue