org.cyclopsgroup.doorman.service.dao
Class DataOperationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.cyclopsgroup.doorman.service.dao.DataOperationException
- All Implemented Interfaces:
- Serializable
public class DataOperationException
- extends RuntimeException
An runtime exception that indicates operation fails for known reason and expected result should be returned
- Author:
- Jiaqi Guo
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
DataOperationException
public DataOperationException(org.cyclopsgroup.doorman.api.UserOperationResult result,
String message)
- Parameters:
result - Result expected to returnmessage - Verbol description of exception
getOperationResult
public final org.cyclopsgroup.doorman.api.UserOperationResult getOperationResult()
- Returns:
- The expected result that should be returned
Copyright © 2010-2012. All Rights Reserved.