public class JCSMPLoginFailureException extends JCSMPOperationException
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_CONSUMER |
static int |
TYPE_PRODUCER |
Constructor and Description |
---|
JCSMPLoginFailureException(int user_t,
String userName,
int responseCode,
String responsePhrase)
Construct a
JCSMPLoginFailureException |
Modifier and Type | Method and Description |
---|---|
int |
getResponseCode()
Get the SMF response code.
|
String |
getResponsePhrase()
Get the response phrase.
|
getExtraInfo, setExtraInfo
getCause, getMessage, getMessage, getMessages, getThrowable, getThrowableCount, getThrowables, indexOfThrowable, indexOfThrowable, printPartialStackTrace, printStackTrace, printStackTrace, printStackTrace
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
public static final int TYPE_CONSUMER
public static final int TYPE_PRODUCER
public JCSMPLoginFailureException(int user_t, String userName, int responseCode, String responsePhrase)
JCSMPLoginFailureException
user_t
- The type of user the exception is raised for (PRODUCER |
CONSUMER).userName
- The user name of the client that attempted login.responseCode
- The SMF response code.responsePhrase
- A short phrase associated with the response code.public int getResponseCode()
public String getResponsePhrase()
null
if the
phrase is not provided.Copyright 2004-2024 Solace Corporation. All rights reserved.