mirror of https://github.com/apache/druid.git
make IndexSizeExceededException constructor take formatString and arguments than just fixed String
like ISE, IAE etc
This commit is contained in:
parent
d8a1dd8d68
commit
8654732ef6
|
@ -25,14 +25,14 @@ public class IndexSizeExceededException extends IOException
|
|||
{
|
||||
}
|
||||
|
||||
public IndexSizeExceededException(String message)
|
||||
public IndexSizeExceededException(String formatText, Object... arguments)
|
||||
{
|
||||
super(message);
|
||||
super(String.format(formatText, arguments));
|
||||
}
|
||||
|
||||
public IndexSizeExceededException(String message, Throwable cause)
|
||||
public IndexSizeExceededException(Throwable cause, String formatText, Object... arguments)
|
||||
{
|
||||
super(message, cause);
|
||||
super(String.format(formatText, arguments), cause);
|
||||
}
|
||||
|
||||
public IndexSizeExceededException(Throwable cause)
|
||||
|
|
Loading…
Reference in New Issue