Class RelationshipException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.joselion.springr2dbcrelationships.exceptions.RelationshipException
- All Implemented Interfaces:
Serializable
Runtime exception thrown when something goes wrong on a relationship process.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic RelationshipExceptionCreates a new relationship exception with a detail message.static RelationshipExceptionCreates a new relationship exception with the specified cause.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
of
Creates a new relationship exception with a detail message.- Parameters:
message- the detail message- Returns:
- a relationship exception instance
-
of
Creates a new relationship exception with the specified cause.- Parameters:
cause- the cause to this exception- Returns:
- a relationship exception instance
-