public class TextException extends RuntimeException
| Constructor and Description |
|---|
TextException(Exception e)
Construct with a cause.
|
TextException(String msg)
Construct with an error message.
|
TextException(String msg,
Exception e)
Construct with a message and cause.
|
TextException(String message,
String text)
Constructor for a detailed exception.
|
TextException(String message,
String text,
Exception cause)
Constructor for a detailed exception.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getText()
Return the text, that caused the error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TextException(String msg)
public TextException(String msg, Exception e)
public TextException(Exception e)
public TextException(String message, String text, Exception cause)
message - the message. The placeholder {} will be replaced by
texttext - the fault text.cause - the casepublic TextException(String message, String text)
message - the message. The placeholder {} will be replaced by
texttext - the fault text.Copyright © 2019. All rights reserved.