java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jgrapht.generate.TooManyFailuresException
- All Implemented Interfaces:
Serializable
Raised when the generator fails, too many times in a row, to grow a graph.
- Author:
- Amr ALHOSSARY
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new too many failures Exception with null as its detail message.TooManyFailuresException
(String message) Constructs a new exception with the specified detail message.TooManyFailuresException
(String message, Throwable cause) Constructs a new too Many Failures exception with the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TooManyFailuresException
public TooManyFailuresException()Constructs a new too many failures Exception with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause. -
TooManyFailuresException
Constructs a new exception with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to initCause.- Parameters:
message
- the detail message (which is saved for later retrieval by the getMessage() method).
-
TooManyFailuresException
Constructs a new too Many Failures exception with the specified detail message and cause. Note that the detail message associated with cause is not automatically incorporated in this runtime exception's detail message.- Parameters:
message
- the detail message (which is saved for later retrieval by the getMessage() method).cause
- the cause (which is saved for later retrieval by the getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-