Package i5.las2peer.persistency
Class StopMergingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
i5.las2peer.persistency.StopMergingException
- All Implemented Interfaces:
Serializable
This exception should be thrown by a
StorageCollisionHandler
if there should be no
further merging attempt.- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructorStopMergingException
(long collisions) This constructor sets only the number of collisions and leaves the message tonull
.StopMergingException
(String message) This constructor sets only the message for this exception and leaves the cause tonull
.StopMergingException
(String message, Long collisions) This constructor allows to set message and number of collisions for this exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
StopMergingException
public StopMergingException()Default constructor -
StopMergingException
This constructor sets only the message for this exception and leaves the cause tonull
.- Parameters:
message
- A message that describes the error.
-
StopMergingException
public StopMergingException(long collisions) This constructor sets only the number of collisions and leaves the message tonull
.- Parameters:
collisions
- The number of collisions that occurred till this point.
-
StopMergingException
This constructor allows to set message and number of collisions for this exception.- Parameters:
message
- A message that describes the error.collisions
- The number of collisions that occurred till this point.
-
-
Method Details