output: #fixed code
                               public RiotApiException getException() {
  		return exception;
  	}
input: #vulnerable code 
                               public RiotApiException getException() {
  		if (!isFailed()) {
  			return null;
  		}
  		return exception;
  	} 
                              #location 2 
                              #vulnerability type THREAD_SAFETY_VIOLATION