- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jgrapht.generate.TooManyFailuresException
-
- All Implemented Interfaces:
Serializable
public class TooManyFailuresException extends RuntimeException
Raised when the generator fails, too many times in a row, to grow a graph.- Author:
- Amr ALHOSSARY
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TooManyFailuresException()
Constructs 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 Detail
-
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
public TooManyFailuresException(String message)
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
public TooManyFailuresException(String message, Throwable cause)
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.)
-
-