IllegalEntityException Class
- java.
lang. Object - java.
lang. Throwable - java.
lang. Exception - com.
microsoft. azure. eventhubs. EventHubException - com.
microsoft. azure. eventhubs. IllegalEntityException
- com.
- com.
- java.
- java.
public class IllegalEntityException
extends EventHubException
This exception is thrown for the following reasons:
- When the entity user attempted to connect does not exist
- The entity user wants to connect is disabled
Constructor Summary
Constructor | Description | |
---|---|---|
IllegalEntityException(String message) | ||
IllegalEntityException(String message, Throwable cause) | ||
IllegalEntityException(Throwable cause) |
Methods inherited from EventHubException
Methods inherited from java.lang.Object
Methods inherited from java.lang.Throwable
addSuppressed
fillInStackTrace
getCause
getLocalizedMessage
getStackTrace
getSuppressed
initCause
printStackTrace
printStackTrace
printStackTrace
setStackTrace
toString
Constructor Details
IllegalEntityException
public IllegalEntityException(String message)
Parameters:
message
IllegalEntityException
public IllegalEntityException(String message, Throwable cause)
Parameters:
message
cause
IllegalEntityException
public IllegalEntityException(Throwable cause)
Parameters:
cause
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java