de.is24.util.monitoring.database
Class MonitoringDataSource.SqlExceptionPredicate

java.lang.Object
  extended by de.is24.util.monitoring.database.MonitoringDataSource.SqlExceptionPredicate
All Implemented Interfaces:
com.google.common.base.Predicate<SQLException>
Enclosing class:
MonitoringDataSource

static class MonitoringDataSource.SqlExceptionPredicate
extends Object
implements com.google.common.base.Predicate<SQLException>


Field Summary
private  int errorCode
           
private  String messagePattern
           
 
Constructor Summary
MonitoringDataSource.SqlExceptionPredicate(int errorCode, String messagePattern)
           
 
Method Summary
 boolean apply(SQLException input)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Field Detail

errorCode

private final int errorCode

messagePattern

private final String messagePattern
Constructor Detail

MonitoringDataSource.SqlExceptionPredicate

public MonitoringDataSource.SqlExceptionPredicate(int errorCode,
                                                  String messagePattern)
Method Detail

apply

public boolean apply(SQLException input)
Specified by:
apply in interface com.google.common.base.Predicate<SQLException>


Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.