Class TooManyFailuresException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jgrapht.generate.TooManyFailuresException
All Implemented Interfaces:
java.io.Serializable

public class TooManyFailuresException
extends java.lang.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​(java.lang.String message)
    Constructs a new exception with the specified detail message.
    TooManyFailuresException​(java.lang.String message, java.lang.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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

      public TooManyFailuresException​(java.lang.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​(java.lang.String message, java.lang.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.)