Package ubic.gemma.core.loader.util
Class AlreadyExistsInSystemException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ubic.gemma.core.loader.util.AlreadyExistsInSystemException
- All Implemented Interfaces:
Serializable
Can be thrown when an attempt is made to load data into the system that already exists. Intended to be used when
simply returning the existing data would be confusing. It can hold a reference to the data that was existing.
- Author:
- pavlidis
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAlreadyExistsInSystemException(String message) AlreadyExistsInSystemException(String message, Object data) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AlreadyExistsInSystemException
-
AlreadyExistsInSystemException
- Parameters:
message- messagedata- The data that already existed.
-
-
Method Details
-
getData
- Returns:
- the data
-