public class NgrokException extends JavaNgrokException
NgrokProcess when an error occurs interacting directly with the ngrok binary.| Constructor and Description |
|---|
NgrokException(java.lang.String message)
An exception with a message.
|
NgrokException(java.lang.String message,
java.util.List<NgrokLog> ngrokLogs)
An exception with a message and
ngrok logs. |
NgrokException(java.lang.String message,
java.util.List<NgrokLog> ngrokLogs,
java.lang.String ngrokError)
An exception with a message,
ngrok logs, and the error that caused ngrok to
fail. |
NgrokException(java.lang.String message,
java.lang.Throwable cause)
An exception with a message and a root cause.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getNgrokError()
Get The error that caused the
ngrok process to fail. |
java.util.List<NgrokLog> |
getNgrokLogs()
Get the
ngrok logs, which may be useful for debugging. |
public NgrokException(java.lang.String message)
message - The message describing the exception.public NgrokException(java.lang.String message,
java.lang.Throwable cause)
message - The message describing the exception.cause - The initial cause of the exception.public NgrokException(java.lang.String message,
java.util.List<NgrokLog> ngrokLogs)
ngrok logs.message - The message describing the exception.ngrokLogs - The ngrok logs.public NgrokException(java.lang.String message,
java.util.List<NgrokLog> ngrokLogs,
java.lang.String ngrokError)
ngrok logs, and the error that caused ngrok to
fail.message - The message describing the exception.ngrokLogs - The ngrok logs.ngrokError - The error that caused the ngrok process to fail.public java.util.List<NgrokLog> getNgrokLogs()
ngrok logs, which may be useful for debugging.public java.lang.String getNgrokError()
ngrok process to fail.