public class SlaveRegistrationException extends Exception
Modifier and Type | Class and Description |
---|---|
static class |
SlaveRegistrationException.ErrorCode |
Constructor and Description |
---|
SlaveRegistrationException(SlaveRegistrationException.ErrorCode errorCode,
String errorMessage) |
Modifier and Type | Method and Description |
---|---|
static SlaveRegistrationException |
forHostAlreadyExists(String slaveName) |
static SlaveRegistrationException |
forHostIsNotMaster() |
static SlaveRegistrationException |
forMasterInAdminOnlyMode(RunningMode runningMode) |
static SlaveRegistrationException |
forUnknownError(String msg) |
SlaveRegistrationException.ErrorCode |
getErrorCode() |
String |
getErrorMessage() |
String |
marshal() |
static SlaveRegistrationException |
parse(String raw) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public SlaveRegistrationException(SlaveRegistrationException.ErrorCode errorCode, String errorMessage)
public static SlaveRegistrationException parse(String raw)
public static SlaveRegistrationException forUnknownError(String msg)
public static SlaveRegistrationException forHostAlreadyExists(String slaveName)
public static SlaveRegistrationException forMasterInAdminOnlyMode(RunningMode runningMode)
public static SlaveRegistrationException forHostIsNotMaster()
public String marshal()
public SlaveRegistrationException.ErrorCode getErrorCode()
public String getErrorMessage()
Copyright © 2023 JBoss by Red Hat. All rights reserved.