aws-sso-assignment/src/main/java/software/amazon/sso/assignment/BaseHandlerStd.java [53:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    } else {
      possibleNumber =  SECURE_RANDOM.ints(5, 100);
    }
    return possibleNumber.findAny().getAsInt();
  }

  protected HandlerErrorCode mapExceptionToHandlerCode(Exception exception) {
    if (exception instanceof ResourceNotFoundException) {
      return HandlerErrorCode.NotFound;
    } else if (exception instanceof AccessDeniedException) {
      return HandlerErrorCode.AccessDenied;
    } else if (exception instanceof ValidationException) {
      return HandlerErrorCode.InvalidRequest;
    } else if (exception instanceof ConflictException) {
      return HandlerErrorCode.AlreadyExists;
    } else if (exception instanceof ThrottlingException) {
      return HandlerErrorCode.Throttling;
    } else {
      return HandlerErrorCode.InternalFailure;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-sso-permissionset/src/main/java/software/amazon/sso/permissionset/BaseHandlerStd.java [52:70]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    } else {
      possibleNumber =  SECURE_RANDOM.ints(5, 100);
    }
    return possibleNumber.findAny().getAsInt();
  }

  protected HandlerErrorCode mapExceptionToHandlerCode(Exception exception) {
    if (exception instanceof ResourceNotFoundException) {
      return HandlerErrorCode.NotFound;
    } else if (exception instanceof AccessDeniedException) {
      return HandlerErrorCode.AccessDenied;
    } else if (exception instanceof ValidationException) {
      return HandlerErrorCode.InvalidRequest;
    } else if (exception instanceof ConflictException) {
      return HandlerErrorCode.AlreadyExists;
    } else if (exception instanceof ThrottlingException) {
      return HandlerErrorCode.Throttling;
    } else {
      return HandlerErrorCode.InternalFailure;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



