UnavailableException
class UnavailableException extends ExecutionException (View source)
UnavailableException is raised when a coordinator detected that there aren't enough replica nodes available to fulfill the request.
NOTE: Request has not even been forwarded to the replica nodes in this case.
Properties
| protected string | $message | The error message | from Exception | 
| protected | $code | The error code | from Exception | 
| protected | $file | The filename where the error happened | from Exception | 
| protected | $line | The line where the error happened | from Exception | 
Methods
Details
        
                            
    __construct(string $message, int $code, null|Throwable $previous)
        
    
    No description
        
        final                    string
    getMessage()
        
    
    Gets the Exception message
        
        final                    int
    getCode()
        
    
    Gets the Exception code
        
        final                    string
    getFile()
        
    
    Gets the file in which the exception occurred
        
        final                    int
    getLine()
        
    
    Gets the line in which the exception occurred
        
        final                    array
    getTrace()
        
    
    Gets the stack trace
        
        final                    null|Throwable
    getPrevious()
        
    
    Returns previous Exception
        
        final                    string
    getTraceAsString()
        
    
    Gets the stack trace as a string
        
                            string
    __toString()
        
    
    No description
        
                            void
    __wakeup()
        
    
    No description