Package dev.morphia.query
Class UpdateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- dev.morphia.query.UpdateException
-
- All Implemented Interfaces:
java.io.Serializable
public class UpdateException extends java.lang.RuntimeException
Error during update.- Author:
- ScottHernandez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateException(java.lang.String message)
Creates a UpdateException with a message and a causeUpdateException(java.lang.String message, java.lang.Throwable cause)
Creates a UpdateException with a message and a cause
-
-
-
Constructor Detail
-
UpdateException
public UpdateException(java.lang.String message)
Creates a UpdateException with a message and a cause- Parameters:
message
- the message to record
-
UpdateException
public UpdateException(java.lang.String message, java.lang.Throwable cause)
Creates a UpdateException with a message and a cause- Parameters:
message
- the message to recordcause
- the underlying cause
-
-