Package com.github.alexdlaird.ngrok
Class NgrokException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.github.alexdlaird.ngrok.NgrokException
- All Implemented Interfaces:
java.io.Serializable
public abstract class NgrokException
extends java.lang.RuntimeException
Root exception for
NgrokClient
interactions.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description NgrokException(java.lang.String message)
An exception with a message.NgrokException(java.lang.String message, java.lang.Throwable cause)
An exception with a message and a root 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
-
NgrokException
public NgrokException(java.lang.String message)An exception with a message.- Parameters:
message
- The message describing the exception.
-
NgrokException
public NgrokException(java.lang.String message, java.lang.Throwable cause)An exception with a message and a root cause.- Parameters:
message
- The message describing the exception.cause
- The initial cause of the exception.
-