public class HgCommandException extends RepositoryException
| Constructor and Description |
|---|
HgCommandException(String message,
String stdout,
String stderr)
Create a command exception containing the message and the stderr
|
HgCommandException(String message,
Throwable cause,
String stdout,
String stderr,
String passwordToObfuscate)
Create a command exception containing the message and root cause and the stderr
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
getRepositoryId, getStderr, getStdoutaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic HgCommandException(String message, String stdout, String stderr)
message - The error messagestderr - Command standard error outputpublic HgCommandException(String message, Throwable cause, String stdout, String stderr, @Nullable String passwordToObfuscate)
message - The error messagecause - The root causestderr - Command standard error outputpasswordToObfuscate - a password that might be visible in the exception message - it will be replaced with asterisk when displayingpublic String getMessage()
getMessage in class ThrowableCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.