001package com.identityworksllc.iiq.common; 002 003import sailpoint.object.SailPointObject; 004 005/** 006 * An exception indicating that too many results were returned 007 */ 008public class TooManyResultsException extends IllegalArgumentException { 009 010 /** 011 * 012 */ 013 private static final long serialVersionUID = -8856651429145974695L; 014 015 /** 016 * @param cls The class we were querying 017 * @param queryString The query string being run 018 * @param resultSize The size of the results 019 */ 020 public TooManyResultsException(Class<? extends SailPointObject> cls, String queryString, int resultSize) { 021 super("Too many results for " + cls.getName() + ", query = " + queryString + ", size = " + resultSize); 022 } 023 024}