package com.atlassian.pageobjects.binder;

/**
 * Parent exception for all binding exceptions
 */
public class PageBindingException extends RuntimeException
{
    private final Object pageObject;

    public PageBindingException(String message, Object pageObject)
    {
        this(message, pageObject, null);
    }

    public PageBindingException(String message, Object pageObject, Throwable cause)
    {
        super(message, cause);
        this.pageObject = pageObject;
    }

    public PageBindingException(Object pageObject, Throwable cause)
    {
        super(cause);
        this.pageObject = pageObject;
    }

    public Object getPageObject()
    {
        return pageObject;
    }
}

@@ -565,16 +565,62 @@
   super(
+String.format(%22%5BPageObject:%25s%5D%22, pageObject), 
 cause);%0A

Include PageObject type in PageBinder exception message