Class ReasonedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.github.sttk.exception.ReasonedException
All Implemented Interfaces:
Serializable

public final class ReasonedException extends Exception
Is the exception class that has a Record object indicating the reason why this exception occurs.
See Also:
  • Constructor Details

    • ReasonedException

      public ReasonedException(Record reason)
      Is the constructor which takes a Record object indicating the reason for this excpetion.
      Parameters:
      reason - A reason for this exception.
    • ReasonedException

      public ReasonedException(Record reason, Throwable cause)
      Is the constructor which takes a Record object indicating the reason and Throwable object indicating the cause for this excpetion.
      Parameters:
      reason - A reason for this exception.
      cause - A cause for this exception.
  • Method Details