public class NonUniquePrimaryKeyHandler extends DaoExceptionHandler
Constructor and Description |
---|
NonUniquePrimaryKeyHandler() |
Modifier and Type | Method and Description |
---|---|
boolean |
comprisesException(String relevantMessagePart)
Returns true if and only if the handler is able to handle
the exception with the given relevant message part.
|
void |
handleException(String relevantMessagePart)
Handles an exception with the given relevant message part.
|
public boolean comprisesException(String relevantMessagePart)
DaoExceptionHandler
comprisesException
in class DaoExceptionHandler
public void handleException(String relevantMessagePart) throws DaoException
DaoExceptionHandler
handleException
in class DaoExceptionHandler
DaoException
Copyright © 2013. All Rights Reserved.