org.moyoman.util
Class DataAlreadyExistsException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--org.moyoman.util.DataAlreadyExistsException
- All Implemented Interfaces:
- Serializable
- public class DataAlreadyExistsException
- extends IllegalArgumentException
This exception is thrown when an attempt to add data fails because the data already exists.
- See Also:
- Serialized Form
Field Summary |
private String |
msg
The error message. |
Fields inherited from class java.lang.Throwable |
|
msg
private String msg
- The error message.
DataAlreadyExistsException
public DataAlreadyExistsException(String str)
- Create the exception.
- Parameters:
str
- The specific error that occurred.
toString
public String toString()
- Get the error message.
- Overrides:
toString
in class Throwable
- Returns:
- A String which is the error message.