ENG-661 : When try to execute the wrong attribute with EQUAL operator, error message dialog is not displayed 
* refactored the Sampler checks (one of them was useless, and another was needlessly relying on a map); added tests to verify the exception is still thrown - reviewed by Alex Snaps

git-svn-id: http://svn.terracotta.org/svn/ehcache@8495 b9324663-ca0f-0410-8574-be9b3887307d
EHC-1059 Account for inline eviction when failing to put in Segment

git-svn-id: http://svn.terracotta.org/svn/ehcache@8496 b9324663-ca0f-0410-8574-be9b3887307d