Class SessionRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.mule.runtime.api.exception.MuleException
com.mulesoft.connectors.mcp.internal.SessionRejectedException
- All Implemented Interfaces:
Serializable
public class SessionRejectedException
extends org.mule.runtime.api.exception.MuleException
Signals that a new session creation was rejected by the server
- Since:
- 0.2.0
- See Also:
-
Field Summary
Fields inherited from class org.mule.runtime.api.exception.MuleException
EXCEPTION_MESSAGE_DELIMITER, EXCEPTION_MESSAGE_SECTION_DELIMITER, INFO_ALREADY_LOGGED_KEY, INFO_ERROR_TYPE_KEY, INFO_LOCATION_KEY, INFO_SOURCE_XML_KEY, MISSING_DEFAULT_VALUE, MULE_VERBOSE_EXCEPTIONS, verboseExceptions -
Constructor Summary
ConstructorsConstructorDescriptionSessionRejectedException(String message, int statusCode) Creates a new instanceSessionRejectedException(String message, int statusCode, Throwable cause) -
Method Summary
Methods inherited from class org.mule.runtime.api.exception.MuleException
addAllInfo, addInfo, appendMessage, equals, getAdditionalInfo, getDetailedMessage, getExceptionInfo, getI18nMessage, getInfo, getMessage, getMessageCode, getSummaryMessage, getVerboseMessage, hashCode, isVerboseExceptions, prependMessage, refreshVerboseExceptions, setMessage, setMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
SessionRejectedException
Creates a new instance- Parameters:
message- the exception messagestatusCode- The statusCode that the server should communicate back to the client
-
SessionRejectedException
- Parameters:
message- the exception messagestatusCode- The statusCode that the server should communicate back to the clientcause- the exception cause
-
-
Method Details
-
getStatusCode
public int getStatusCode()- Returns:
- The statusCode that the server should communicate back to the client
-